You're right. But even with trimming I get around 10x the size of the Go binary
dotnet publish -c release -p:PublishAot=trueAlso 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.