Re:AtomVM: Erlang on Microcontrollers
by vaer-k on Wednesday August 19, 2020 @10:50AM
(#24210938)
I'm becoming interested in microcontrollers but I know next to nothing about them. Would anyone care to explain the fundamental difference between this project and Nerves?
[ Parent
| on HN ]
Re:AtomVM: Erlang on Microcontrollers
by romanoderoma on Wednesday August 19, 2020 @11:01AM
(#24211052)
This project aims to run Erlang on very low power/low memory system, we are talking about MHz for CPUs and megabytes of memory ( even hundreds of kilobytes)
These systems have no real OS to rely on and developers have to handle almost everything manually
Nerves requires a system who can at least run Linux and the real BEAM, like a Raspberry PI which is many times more powerful than an ESP32 board
I am a casual observer at best, but Nerves (more importantly, the BEAM) doesn't scale down to true embedded hardware. This looks like an attempt to build a new VM for more resource-constrained environments.
If you look at the supported targets, they're Raspberry Pi (or similar) computers, not microcontrollers.
https://hexdocs.pm/nerves/targets.html#supported-targets-and...