top | item 43334081

(no title)

typ | 11 months ago

C# is fine. But last I checked, the AOT compilation generates a bunch of .dll files, which are not suitable for a CLI program like Go's zero dependencies binary.

discuss

order

fabian2k|11 months ago

C# can create single-binary executables, even without native AOT.

cardanome|11 months ago

They are still going to significant bigger than the equivalent golang binary because of the huge .NET runtime, no?

pjmlp|11 months ago

You can choose how the linking process is done, just like you can chose to have a a Go binary with dependencies.

SkiFire13|11 months ago

C# has an option to publish to a single self-contained file.

osigurdson|11 months ago

It would be big enough that people would find it annoying (unless using AOT which is hard).