Reducing binary size
I'm trying to check the executable binary generated by mojo, for a simple "Hello" I got a 1.1M, is there a way to get a less size, a way to optimize the outputfile size?
3 Replies
Note, for the same code in Zig, I was able to optimize the size to be 8.9K only (compressed from 2.0M)
GitHub
Issues · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
I'm seeing this issue too in WSL2 Ubuntu have raise issue: https://github.com/modularml/mojo/issues/1751
GitHub
[BUG]: Mojo hello world binary size unreasonably large · Issue #175...
Bug description Binary file large in mojo 0.7.0 Reoccurrence of BUG #599 which was resolved in 0.3.0. Steps to reproduce System information WSL2 - Ubuntu 22.04.3 LTS mojo 0.7.0 (af002202) modular 0...