3 ms·
How does removing .NET change anything ? You still need a runtime (GC, reflection/type information for casting, etc.) You could probably strip down .NET core r
by rubber_duck 10y ago
How does removing .NET change anything ? You still need a runtime (GC, reflection/type information for casting, etc.)
You could probably strip down .NET core runtime if size is your concern and have an AoT compiled binary that links to that if you're concerned about JIT. I think there was a MS project a while back that compiled .NET IL to static code trough LLVM (https://github.com/dotnet/llilc https://github.com/dotnet/llilc - it seems dead now unfortunately)
But C# without .NET doesn't really make sense.
- simooooo 10y agoThere is still ".Net native" which is used for Windows apps and planned to be expanded to console apps etc. You can also run ngen to pre-jit everything
- rubber_duck 10y agoThere's also Mono AoT which is used by Xamarin for iOS. But it would have been nice to have an official .NET Core project that targets LLVM, hope they revive it at some point - the project got abandoned without any announcements from what I can tell.
- pjmlp 10y agoIf you mean CoreRT, it got postponed until they finalize the .NET 2.0 Standard for core. https://blogs.msdn.microsoft.com/dotnet/2016/11/08/the-week-in-net-on-net-on-corert-amp-net-native-enums-net-ylands-markdown-monster/ https://blogs.msdn.microsoft.com/dotnet/2016/11/08/the-week-... https://blogs.msdn.microsoft.com/alphageek/2016/10/13/native-compilation-why-jit-when-you-can-codegen/ https://blogs.msdn.microsoft.com/alphageek/2016/10/13/native...
- rubber_duck 10y agoHmm, does that also mean LILLC (the LLVM based IL AoT) is also suspended ? I hope it's not abandoned - with the upcoming WASM it could be a big deal for .NET to get all the platforms LLVM supports that don't support JIT.
- pjmlp 10y agoDon't know, but they still have ongoing commits. I am not a big fan of WASM, as I rather bet on native apps.