Comment by bscphil

9 months ago

> you can tree-shake the runtime and use the AOT compiler to ship a go-like native binary.

The OP talks about doing this for mobile platforms, but could I take e.g. the OP's source code (he co-wrote Celeste) and trivially compile an AOT native binary for x86_64, or would more work be required to make that possible?

(Interestingly, Celeste on Linux doesn't use the dotnet runtime, but instead a portable Mono runtime which I believe is based on MonoKickstart. [1])

[1] https://github.com/flibitijibibo/MonoKickstart