M
Modular15mo 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 User15mo 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
Stole15mo 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 User15mo ago
thanks did not know this, will follow the GitHub thread
Want results from more Discord servers?
Add your server