Mojo on ARM/Other arch

I was wondering about support for Arm/RISCV processors in mojo and how much of a priority it is? With the memory usage mojo currently has, it’s great for small IoT, and, possibly embedded in the future.

Are there any differences in the compilation between the common platforms and RISC, if it is supported?
Questions based on Apple “M” support availability

I think a good chunk of Modular are using M series Macs to develop Mojo and MAX. ARM64 Linux has also been supported for a while.

RISC-V is likely a bit of a lower priority since there aren’t really any relevant RISC-V chips, but I’d expect some level of support eventually.

Embedded mojo will require some changes since right now Mojo can’t handle OOM, and it has a fairly heavy runtime as far as systems languages go.

1 Like

I have a passion for ARM in terms of power/computation. In Cyprus electricity has one of the highest prices among EEU.
Additionally, everyone should generally aim towards carbon neutrality)

I guess OOM can be covered by the community provided we get a bit more low-level mem access possibilities

I’m working to fix it in the stdlib proper, but we’ll need to get rid of tcmalloc (the backing allocator for mojo), because it doesn’t support that.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.