Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

.Net native code compilation, aka static linking for the .net age. This feature is a LOOOOONG time coming, they should have had it available a decade ago.

P.S. Mark my words, this is going to be a huge deal. Especially since MS is acquiring Xamarin, which basically does the same thing, but for mobile platforms. With the ability to develop in .net languages and still deliver a plain-jane .exe that doesn't require jitting it'll open up a lot of new opportunities. Especially if they start targeting non-windows platforms like linux, iOS, and android with fully-baked tools. Imagine how much more popular C# would be if it wasn't tied to the Windows platform? And if you could choose whether or not you wanted to ship a small managed exe or a fat native exe that launched quickly?



Doesn't .NET already have native code compilation using NGEN?

http://en.wikipedia.org/wiki/Native_Image_Generator


Technically, yes, but for most situations, no. The requirement that ngen'ed assemblies must be in the GAC makes it very far from the "compile what you want to native" tool I'd like to see.


ngen is also client-side, which makes for slow, complex installs, as opposed to simply running an executable.


is it comparable with GCJ?


> Imagine how much more popular C# would be if it wasn't tied to the Windows platform?

It's not. Recent versions of Mono are quite good. You will have to pay Xamarin at least $299/year to deploy on iOS or Android, though.


> Especially since MS is acquiring Xamarin

Is this certain? Was it announced?


No, just widely speculated.


The inherent slowness of .net is the ONLY reason that I'm sticking with Delphi... It'll be a dream if we'll be able to compile .net/c# programs into native and runs FAST!


well, by "It'll be a dream " I actually meant "I dream of being able to native compile c# app for the desktop". Sorry for the bad English.


well, to those whom downvoted, I wish you can convince me, since I really want to enjoy the power of visual studio and the richness of .net libraries.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: