TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Building and Running .NET’s CoreCLR on OS X

230 点作者 xvirk超过 10 年前

10 条评论

zamalek超过 10 年前
&gt; libmscordaccore is that. I’ve heard that it “helps debugging”, but at 4KB, I have my doubts. No, this is just an ugly wart growing off an otherwise prefectly packaged piece of software. Best ignore it.<p>If it&#x27;s anything like MSCORDACWKS (which &quot;mscordac&quot; alludes to), it&#x27;s an absolutely crucial piece of code. Basically it&#x27;s an abstraction layer over the way .Net lays things out in memory. It&#x27;s aware of the .Net heap structure, threads, stacks, object headers, you name it: it knows how to abstract it and read it.<p>This means that if there is a production issue at a customer, you can grab a memory dump from them and this one tiny DLL - and then you can start digging into things (Microsoft actually now provides differing versions on their public symbol servers: so you only need the memory dump nowadays). I&#x27;m pretty sure it&#x27;s also how Visual Studio interacts with .Net memory.<p>Unlike other environments where you have to have the same version as the customer, or at least a compatible one.<p>Microsoft ships it with the .Net installation package and you [Mac users] should <i></i>always<i></i> keep it next to coreclr, too. Literally, deploy it with alongside coreclr and mscordac. Never let them be apart, <i></i>ever.<i></i> Don&#x27;t just ignore it, having the correct version will save your bacon one day. 4KB that will wrangle gigabytes of dumped memory for you.
评论 #9029044 未加载
albertzeyer超过 10 年前
Now as .Net becomes more interesting again (for me), can someone comment on the state of GUI app development in .Net?<p>Can I write cross-platform GUI code, or would I need to re-implement the GUI on every platform?<p>Do Windows .Net GUI apps (does that mean Windows.Forms?) work just as-is on Linux (and maybe MacOSX)?<p>What would be the best supported GUI .Net framework? QtSharp? Windows.Forms?<p>I found some overview here, but not sure if accurate &#x2F; up-to-date: <a href="http://www.mono-project.com/docs/gui/" rel="nofollow">http:&#x2F;&#x2F;www.mono-project.com&#x2F;docs&#x2F;gui&#x2F;</a>
评论 #9027023 未加载
评论 #9027090 未加载
评论 #9027730 未加载
评论 #9028600 未加载
评论 #9026954 未加载
评论 #9027322 未加载
asp_net超过 10 年前
I really like how things are going forward. Being a .NET developer since 2004 and a Mac user since 2008 I can&#x27;t wait to use my beloved tooling finally in production on Linux (and on OS X for development).
ianlevesque超过 10 年前
I realize there is much yet to do (hand assembled bytes?!) but it&#x27;s impressive to see this building and running already.
henderson101超过 10 年前
If this can be used to open up more platforms, without crazy licensing fees as with Mono and mobile devices, I think it is a very positive step forward.
评论 #9026777 未加载
评论 #9026786 未加载
derefr超过 10 年前
I was expecting a &quot;complete bootstrap&quot;, but even after the end of this article you&#x27;re still using Mono to compile any further executables you want to run on CoreCLR, right?<p>I guess what I&#x27;m asking is, where&#x27;s the open-source MSVS C# compiler core+build system+CLI tooling?
jevinskie超过 10 年前
&gt; Rewriting bits of high performance assembly in bytes (not opcodes) as Mac’s as refused to generate the desired instructions.<p>Ouch. They should really look into using clang and its integrated assembler. All mnemonics should Just Work. as on mac is a patched up binutils 1.38 version.
评论 #9029983 未加载
评论 #9030051 未加载
chii超过 10 年前
i wonder if other languages can start targeting the CLR, and have a competing cross platform runtime to java that&#x27;s got a big name behind it.
评论 #9026849 未加载
评论 #9028609 未加载
评论 #9026847 未加载
评论 #9026835 未加载
Razengan超过 10 年前
I just hope this doesn&#x27;t reduce the overall quality of upcoming Mac apps.<p>Cocoa&#x27;s AppKit is very powerful and provides a UI that has always been more consistent than what I&#x27;ve experienced on Windows. The last time I tried .Net&#x2F;WinForms several years ago it was severely lacking in the functionality and flexibility of controls like tables and toolbars, and the UI of many Windows apps still tends to look and act slightly different from each other, with Microsoft being the biggest culprits in this inconsistency.
评论 #9031120 未加载
tonyedgecombe超过 10 年前
I&#x27;ll be impressed when WPF is ported to OS X.
评论 #9028239 未加载