M
Modular17mo ago
orangepi

Mojo Binary Sizes?

Are compiled binaries in mojo lighter in size compared to c, c++, or rust? I’m asking because I’m really interested in the embedded systems aspect of using this language and I’m curious on how lean it is.
3 Replies
Deleted User
Deleted User17mo ago
fn main():
print("Hello, world!")
fn main():
print("Hello, world!")
compiled to 1.7 MB on Ubuntu for me, compared to 33 kB with C++ it is multiple times bigger.
Stole
Stole17mo ago
Hi, hello world binary size is a known issue. See https://github.com/modularml/mojo/issues/599.
GitHub
Issues · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
Deleted User
Deleted User17mo ago
thanks did not know this, will follow the GitHub thread

Did you find this page helpful?