Readit News logoReadit News
MrBuddyCasino · 2 years ago
This is buried in the docs[0], but should be on the landing page:

At this time AtomVM will work on any board with a minimum of around 128k ram and 512k (1M recommended) flash.

This is the first thing I look for in any embedded software framework, and its rarely mentioned.

[0] https://www.atomvm.net/doc/master/getting-started-guide.html

mrpf1ster · 2 years ago
How does this differ from Nerves?
bhaney · 2 years ago
Nerves is a framework meant to run on relatively beefy embedded systems (not microcontrollers) and uses the normal BEAM. AtomVM is its own VM suitable for running on microcontrollers in much more resource constrained environments than Nerves could ever get close to running on.
davidw · 2 years ago
It'd be nice to have an 'at a glance' comparison between standard Erlang and this, to get a better idea of what's going on.

I don't know if "kind of like language X, but cut down and missing some stuff" environments have a great track record. Especially if the runtime is not the tried and true one with a lot of the kinks worked out.

transfire · 2 years ago
Nerves doesn’t support microcontrollers, e.g. Raspberry Pico.
voicedYoda · 2 years ago
I think it's that AtomVM is erlang specific, while nerves is elixir and erlang. I could be very wrong, but that's my initial read from the docs
bhaney · 2 years ago
> I think it's that AtomVM is erlang specific

I see plenty of references to Elixir in the docs, and this official AtomVM project to provide some tooling to target AtomVM from Elixir

https://github.com/atomvm/ExAtomVM

benpacker · 2 years ago
It implements the BEAM, so any language that shares the runtime can be made to work (Elixir, Gleam, etc)
jocaal · 2 years ago
If I understand correctly, Elixir builds an Erlang syntax tree and then the erlang toolchain takes over. If it runs Erlang, it should be able to run elixir
ValtteriL · 2 years ago
Awesome project, keep up the good work! As an Erlang enthusiast I really want to give it a try but lack interesting project ideas and hardware.

I wish there were pictures of hardware on sample code/tutorials pages. Would be interested in seeing complete projects too.

Alifatisk · 2 years ago
Makes me happy seeing the BeamVM getting more usage! It deserves it.
LispSporks22 · 2 years ago
I was hoping it had a REPL too but apparently it does not.
transfire · 2 years ago
Standard REPL doesn’t work?
bettio · 2 years ago
No, it would likely take a lot of flash space. There is a LISP like REPL.
haltist · 2 years ago
I didn't see anything in the core APIs about cryptography so any application that requires encrypted communication will have to bring their own cryptographic primitives.
elitepleb · 2 years ago
a fair amount of ciphers and hashes are listed here under the crypto module: https://www.atomvm.net/doc/master/apidocs/erlang/estdlib/cry...
haltist · 2 years ago
Thanks.