0Pricing
Mojo Academy · Lesson

Interop Performance Gotchas

Where the bridge costs you speed.

Interop Has a Cost

Calling Python from Mojo is powerful, but it is not free. Knowing the costs helps you keep your program fast. 🐢

The Bridge Tax

Every crossing into Python carries overhead, since Mojo must talk to the Python interpreter for each call.

All lessons in this course

  1. Using NumPy from Mojo
  2. Passing Mojo Data to Python
  3. Reading Python Objects Back
  4. Interop Performance Gotchas
← Back to Mojo Academy