modularml / mojo

The Mojo Programming Language
https://docs.modular.com/mojo/manual/
Other
23.32k stars 2.59k forks source link

[Feature Request] Mojo Core library for embedded devices #1759

Open redradist opened 9 months ago

redradist commented 9 months ago

Review Mojo's priorities

What is your request?

Add Mojo Core library that will allow to use mojo on very constrained devices like STM32 and ESP32

What is your motivation for this change?

To add more use-cases for mojo language be able to use it anywhere (microcontrollers, BIOS firmware, system high performance services)

Any other details?

No response

Sharktheone commented 9 months ago

That's basically the same as #1561 I'm not sure if there is any tracking issue on this topic yet, at least I didn't found any issues related to this.

Mojo is in a very early stage, not even Linux ARM CPU's are supported yet (#1093), so support for some exotic (custom) micro controller board isn't on the timeline for the foreseeable future.

redradist commented 9 months ago

That's basically the same as #1561 I'm not sure if there is any tracking issue on this topic yet, at least I didn't found any issues related to this.

Mojo is in a very early stage, not even Linux ARM CPU's are supported yet (#1093), so support for some exotic (custom) micro controller board isn't on the timeline for the foreseeable future.

@Sharktheone It is not about supporting microcontroller board, it is about language architecture that will allow to add support for microcontrollers without involving of core language team, like it done in Rust libcore

Sharktheone commented 9 months ago

Thanks for clarifying. Probably you'd need to wait for Mojo to be open-sourced, so it can be edited by the community.

gryznar commented 9 months ago

Extracting core parts from stdlib does not need open source state IMHO and could be done now