Hacker News new | ask | show | jobs
by lacampbell 3456 days ago
Is rust actually used in the embedded world, anywhere? All sorts of languages have been made to run on micro controllers, from Pascal to Scheme.
2 comments

Got talking to a dude on the phone (random call about something totally non-technical). Turned out he was an embedded systems engineer in the Nuclear industry. Uses Forth for everything. He strongly encouraged me to use it for any embedded hobby project.
JeeLabs has some stuff on Forth in the uC world: http://jeelabs.org/2016/02/dive-into-forth/
I love that jeelabs blog.. Also, some languages running on esp8266:

https://github.com/yesco/esp-lisp

https://github.com/zeroflag/punyforth

https://micropython.org/

(and of course lua which i didn't try because its official... https://github.com/nodemcu/nodemcu-firmware)

damn that looks fun. as if I didn't already have enough things I want to learn...
Charles Moore?
Not many languages can be made to run efficiently on a 83 MHz core with few kbytes of RAM.

Pascal, maybe, but it's about the same thing as C.

Scheme would be nice, but it's both more resource-hungry and the static checking is sort of bolted on.

With Rust's security features I hope we'll have fewer crashing or crackable embedded devices.

Pascal, these guys have options for almost all relevant processors.

http://www.mikroe.com/mikropascal/

Scheme, do people actually know how powerful RTL8710 is in regards to the computers used to create Scheme?

RTL8710 has a ARM Cortex M3 @ 166 MHz with 48KB available to user and 1MB flash.

Scheme was developed on the ITS OS, running on PDP-10, which could have up to 256 kilowords (not KB), and ran at about 30 MHz.

I am with you on Rust.

The majority of these tiny devices have more resources than 70's mainframes, that used safer systems programming languages.