3 ms·
There are many standard C library implementations that target various microprocessors and platforms, that enable us to use C instead of assembler. Bringing more
by veli_joza 10y ago
There are many standard C library implementations that target various microprocessors and platforms, that enable us to use C instead of assembler. Bringing more high level languages like C# on these platforms would benefit security and development speed.
- rubber_duck 10y agoHow 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.
- pjmlp 10y agoYou mean like Netduino? http://www.netduino.com/ http://www.netduino.com/ Otherwise there are a few options already https://www.toradex.com/windows-iot-starter-kit https://www.toradex.com/windows-iot-starter-kit https://developer.microsoft.com/en-us/windows/iot/Explore/deviceoptions https://developer.microsoft.com/en-us/windows/iot/Explore/de... The problem with using C and Assembly instead of more productive options, when the hardware allows for it, is that many don't search properly.