News for hackers. Stuff that matters.
Re:Microsoft donates the Mono Project to the Wine team by MStrehovsky on Wednesday August 28, 2024 @05:04AM (#41377515)
Is AOT compiling your binaries [1] an option for you? The starting size of AOT compiled C# can beat Go in size [2] and from there it really depends on what you do and how you do it. Some simple ASP.NET server with https and routing can comfortably fit under 10 MB and there are compilation options that can help optimize further [3].

[1] https://learn.microsoft.com/dotnet/core/deploying/native-aot... [2] https://github.com/MichalStrehovsky/sizegame?tab=readme-ov-f... [3] https://learn.microsoft.com/dotnet/core/deploying/native-aot...

Re:Microsoft donates the Mono Project to the Wine team by hakanderyal on Wednesday August 28, 2024 @11:41AM (#41380727)
I looked into it but some libraries I've been using wasn't compatible with AOT. I'll check it again when I have more time. Thanks.