Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Having Rust support embedded is only half the story: we need to lobby/advocate for chip makers to support Rust.

So one thing I noticed from the micropython world is that chip makers are not going to support micropython. But there are third party companies that are supporting python on specific microcontrollers.

One problem the chip makers have right now is language frag. Rust is competing against go, python, kotlin/native, swift, javascript, and others. Rolling a tool chain is not free, because it needs to be updated over time for optimizations and code fixes.



Kotlin Native might have a chance, and it looks like they are targeting embedded. But the rest aren't good fits: Anything with a GC is a no-go for serious MCU development. You just can't optimize the code deep enough. Swift's reference count system might be interesting... would be curious if you could target Swift for something like a M4 or M3.

Rust is the only low level systems language that really has a chance to complete with C/C++ in the space: it's mature, has a great community that's sizable, etc.

(I'm talking about using Rust for professional embedded projects... I LOVE micropython as a hobby)


> Anything with a GC is a no-go for serious MCU development.

That's a really good point.

Edited to add:

But now that I think about it, Java was originally a micro controller language. Sun decided it was better for the enterprise.

https://en.wikipedia.org/wiki/Java_(programming_language)

I'm not sure if they included the GC in the original version or not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: