This Week in Mojo 2023-08-18
Official Content
- New blog post: How Mojo🔥 gets a 35,000x speedup over Python – Part 1
Community Content
- Maxim made a blog post on a binary search tree implementation he's working on: A high level introduction to FibyTree
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.