logoalt Hacker News

afdbcreid • today at 7:39 AM • 3 replies • view on HN

> ultimately everything is eventually possible against any given hardware.

Not everything, no. You can't run C# without the .NET runtime. Some parts of it are irreplaceable.

And the Rust optimizations to shrink binary size (see https://github.com/johnthagen/min-sized-rust) are commonly done in production when it matters, not just in WASM but also in embedded.


Replies

memsom • today at 8:52 AM

> Not everything, no. You can't run C# without the .NET runtime

You can compile C# to an AOT exe, and when you do that it will literally only be what it needs to work, less and dynamic libs.

➕ show 1 reply
jeswin • today at 8:37 AM

> You can't run C# without the .NET runtime

With NativeAOT, same a golang then. NativeAOT has worked wonderfully for us, and in some specific situations faster than Rust.

➕ show 1 reply
zarlo • today at 12:35 PM

[dead]