3 ms·
anything that requires a giant runtime to run is a big NO for me that's why languages like GO makes more sense for that kind of use cases microsoft not wantin
by Shadonototra 5y ago
anything that requires a giant runtime to run is a big NO for me
that's why languages like GO makes more sense for that kind of use cases
microsoft not wanting to support CoreRT back in the days was their biggest mistake ever, shame on the people at microsoft who lobbied against it, shame!
- dellamonica 5y agoThey are working on Native AOT for .net 7, which is based on CoreRT. See the issues tracked in the runtime repo. I have been using it with reflection fully disabled in a console app and it produces a 5Mb native binary.
- Shadonototra 5y agook that is VERY encouraging to hear! thanks for letting me know about that EDIT: found it: https://github.com/dotnet/runtime/issues/61231 https://github.com/dotnet/runtime/issues/61231
- ripley12 5y agoI wouldn't say it's a giant runtime. A trimmed Hello World .NET app is ~11MB these days - not quite as good as Go, but you can make .NET apps that do quite a lot in under 20MB. And sizes will be going quite a bit lower with NativeAOT this year. https://www.awise.us/2021/06/05/smallest-dotnet.html https://www.awise.us/2021/06/05/smallest-dotnet.html