Comment on Ask HN: Fastest cross-platform GUI stack/strategyparentComments−api2yThis is because Go bundles a big runtime in every binary.−fuzztester2yIs there a way to not do that?−cookiengineer2yYou can also write allocation free Go, by computing everything on the stack. (Use pprof tool to analyze your code's allocations)If you want smaller binaries without a runtime or GC bundled, you can try out tinygo [1][1] https://github.com/tinygo-org/tinygo
Comments
This is because Go bundles a big runtime in every binary.
Is there a way to not do that?
You can also write allocation free Go, by computing everything on the stack. (Use pprof tool to analyze your code's allocations)
If you want smaller binaries without a runtime or GC bundled, you can try out tinygo [1]
[1] https://github.com/tinygo-org/tinygo