3 ms·
Yea, I missed trimming. But still NativeAOT results in 10x the size of the Go binary in Windows (win-x64)
by leeman2016 3y ago
Yea, I missed trimming. But still NativeAOT results in 10x the size of the Go binary in Windows (win-x64)
- neonsunset 3y agoTwo aspects: - There is no point in chasing smallest possible binary size if it trades off performance and features one wants to use in production scenario, or comes with other tradeoffs that sacrifice developer productivity. I don't see anyone complaining about the size of GraalVM native images. As long as binaries are reasonably sized, it's not an issue. - dotnet publish -c release -p:PublishAot=true definitely produces smaller binaries than Go as of .NET 8 (and no, you cannot use the argument that it's not released yet - it's in RC.2 which is intended for evaluation for adopting .NET 8 scheduled for release next month)
- leeman2016 3y agoThat's awesome, honestly. Can't wait.