4 ms·
That's no longer true with Windows 10 where .Net Native compiles everything into native code directly
by mhomde 11y ago
That's no longer true with Windows 10 where .Net Native compiles everything into native code directly
- guiomie 11y agoFor desktop apps. As far a I know, you can't run in IIS native apps.
- mhomde 11y agoTrue, and I'm not sure there would be much point. .Net native is mainly to reduce startup times and reduce memory footprint
- douche 11y agoFor anything outside massively scaled web applications, I'm not sure IIS is worth bothering with anymore, now that self-hosted OWIN is more stable, and there is a version of ASP.NET MVC that runs on OWIN.
- guiomie 11y agoSo, you are saying I could run a .Net Native app in a OWIN ?
- douche 11y agoApparently I misspoke, and OWIN is not totally compatible with .NET Core yet. Still, I've found that developing and, moreover, deploying, OWIN self-hosted apps is much more pain-free than using IIS. App pool idle timeouts and recycling are a huge pain for anything that utilizes long-term background services, which happens to be the case with most of the stuff I work on. And ensuring that the appropriate IIS role services are installed is much more of a pain for customer deployments than building what you need into an OWIN app.
- e12e 11y agoDoes anyone happen to know what the AOT cross-platform story is? Can I build executables that targets eg: Linux/x86_64, OS X in addition to Windows 10 (I mean as three separate binaries -- having one monster, multi-target binary might be interesting, but that would be something else...)?
- srean 11y agoYou mean AOT and with good optimization passes ? That would be quite awesome, any pointers (no pun intended) ? Please have one upvote already, Now if you were to say that they are going to merge in a float32 math library, I will probably throw a party.
- mhomde 11y agoyes, .Net Native runs the managed code through a modified version of the c++ compiler and gains some benefits from it's optimization, not sure how much of a difference that does however. Good talk here: https://channel9.msdn.com/Shows/Going+Deep/Inside-NET-Native https://channel9.msdn.com/Shows/Going+Deep/Inside-NET-Native
- faragon 11y ago"You get highly optimized binaries that load and run faster than .NET code ever has before. Yes, my friends, .NET has gone native! :)" It would be funny to review older "almost as native speed" claims from .NET JIT "overlords" vs current ".NET native is as fast as native" new claims :-)