Logo

This Week in Mojo 2023-08-18

Official Content

Community Content

Team Answers

Small Binary Size for Embedded

In fullness of time Mojo will be very useful for this sort of use-case. We haven't done any work on code size directly, but a statically linked hello world program produces a ~100K a.out file on a linux system. Mojo supports inline asm, but it is pretty ugly to use right now, we'll improve that later.

There are a lot of analogs between embedded systems and GPU/accelerator programming btw, both want effectively-no-dependence runtimes.

ONNX Runtime

we run benchmarks against ONNX Runtime, and in our tests, the Modular AI Engine is almost always faster than it. We may add these numbers to the public dashboard at https://performance.modular.com/ in the future.