Get the latest tech news

Using Erlang hot code updates


One of the Erlang ecosystem's spiciest nerd snipes are hot code updates. Because it can do it. In ways that almost no other runtime can. I use Elixir which builds on Erlang and has the same capabilities.

When developing on an embedded Elixir device and needing to tune some numbers, or reworking a module, pasting into the IEx is faster than uploading new firmware and waiting for the reboot. I stop and start parts of the applications or just terminate the relevant GenServer if I need a state reset. When debugging a misbehaving Real Time Clock it was pretty nice to just paste chunks of utility functions and relevant I2C-calls over to the device to get clear answers about what it was doing.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Erlang

Erlang

Photo of hot code updates

hot code updates

Related news:

News photo

Show HN: Lyceum – An MMO game built with Zig and Erlang

News photo

Ergo: Erlang-inspired event driven actor framework in Go

News photo

(Logic) Prolog, Erlang, Elixir a side-by-side reference sheet