←back to thread

267 points lawik | 2 comments | | HN request time: 0.422s | source
1. robocat ◴[] No.42188995[source]
Background to the article: https://underjord.io/unpacking-elixir-iot-embedded-nerves.ht...

Seems like they deploy Elixir on embedded Linux. The embedded Linux distro is Nerves which replaces systemd and boots to the BEAM VM instead as process 1, putting Elixir as close to the metal as they can.

I know nothing about any of the above (assumption is I'm fool enough to try and simplify) plus I know I've misused the concepts I wrote but that's my point so read the article. All simplifications are salads

replies(1): >>42192713 #
2. rkangel ◴[] No.42192713[source]
Don't worry - this is an accurate and concise summary of what Nerves is.

What I would add is: you do not have bash (or sh, or any other "conventional" shell). The BEAM is your userspace.

You can SSH in, but what you end up with is an IEx prompt (the Elixir REPL). This is surprisingly fine once you get used to it (and once you've built a few helpers for your usecase).