News for hackers. Stuff that matters.
Re:Was Rust Worth It? by leeman2016 on Thursday October 26, 2023 @04:27AM (#38023145)
You're right. But even with trimming I get around 10x the size of the Go binary
Re:Was Rust Worth It? by pjmlp on Thursday October 26, 2023 @04:33AM (#38023175)
Since I edited my comment, see my additional remarks regarding runtime capabilities, and the counterpoint of big Go binaries.

Also note that triming only works properly if the libraries have taken the effort to be trimmable, as the linker errs on the safe side and won't trim unless certain that it is really dead code, and not called via reflection.

Re:Was Rust Worth It? by neonsunset on Thursday October 26, 2023 @05:06AM (#38023381)

    dotnet publish -c release -p:PublishAot=true