Erlang 28 on GRiSP Nano using only 16 MB

95 plainOldText 5 7/21/2025, 7:40:15 PM grisp.org ↗

Comments (5)

plainOldText · 2h ago
This video https://youtu.be/TBrPyy48vFI?t=1277 is a few years old, but it covers how the GRiSP platform combines Erlang and RTEMS Real-time OS [1] to overcome Erlang VM's soft real-time limitations and achieve hard real-time event handling.

[1] https://www.rtems.org/

jswny · 27m ago
What are the soft real time limitations of erlang?
im_down_w_otp · 4m ago
Erlang's BEAM, assuming no chicanery of NIFs, will use reduction counting to eventually yield a scheduler to make sure other Erlang processes get execution time. This gives you kind of a "will eventually happen" property. It can't guarantee meeting a deadline. Just that all things will be serviced at some point.
kristianp · 1h ago
I suppose having the small DRAM footprint is required to meet extremely low power requirements. How low power is it? The CPU has a 18.6 μA/MHz Run mode at 3.3 V [1], so 61μW! I wanted to know more about the power harvesting applications though.

[1] https://www.st.com/resource/en/datasheet/stm32u5f7vj.pdf

voicedYoda · 2h ago
This is incredible. Kudos on getting it done, and done so quickly!