Get the latest tech news

Erlang 28 on GRiSP Nano using only 16 MB


A modular embedded ecosystem—bare-metal hardware, software stacks, and a cloud platform for real-time IoT and distributed systems.

RTEMS tweaks + internal RAM + per-module GC: a small slice of CPU internal RAM plus a forced garbage-collection after each module bumped free space to 9.4 MB and reduced the BEAM binary to 4.1 MB, gaining 25 more modules. Its lookup tables required an additional allocation of roughly 500 kB, which exhausted the remaining free block. Replacing those tables with the stub module unicode_util_rtems.erl removed that final obstacle and the system reached the Erlang shell prompt.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Nano

Nano

Photo of Erlang

Erlang

Photo of GRiSP Nano

GRiSP Nano

Related news:

News photo

AtomVM, the Erlang virtual machine for IoT devices

News photo

Vrs: Personal Software Runtime inspired by Emacs, Plan 9, Erlang, Hypermedia

News photo

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED