# BEAM Forum

**URL:** https://erlangforums.com/c/beam-forum/59.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [BEAM 2 Project - 'safe BEAM' built in Rust](https://erlangforums.com/t/beam-2-project-safe-beam-built-in-rust/5476)

<div class="topic-metadata">

**Author:** [@JeromeDeBretagne](https://erlangforums.com/u/JeromeDeBretagne)\
**Replies:** 27\
**Last updated:** [October 6, 2026, 7:52pm UTC](https://erlangforums.com/t/beam-2-project-safe-beam-built-in-rust/5476 "2026-10-06T19:52:42Z")

</div>

Lee’s “BEAM 2.0” project \* Lee provided an ad-hoc update on his “safe BEAM” built in Rust \* Along with a project that emerged from it, called Silica \* Further information, discussion and possible collaboration in EEF …

---

## [On garbage-collecting atoms](https://erlangforums.com/t/on-garbage-collecting-atoms/1476)

<div class="topic-metadata">

**Author:** [@Maria-12648430](https://erlangforums.com/u/Maria-12648430)\
**Replies:** 57\
**Last updated:** [September 15, 2026, 10:30pm UTC](https://erlangforums.com/t/on-garbage-collecting-atoms/1476 "2026-09-15T22:30:50Z")

</div>

Here is my question up front: Why are atoms not garbage collected? Could they be, theoretically? I have some guesses and odd memory fragments, but it would be nice to have it explained by an expert. I assume it is not …

---

## [Tyn - A Rust microkernel that runs BEAM on bare metal (no Linux)](https://erlangforums.com/t/tyn-a-rust-microkernel-that-runs-beam-on-bare-metal-no-linux/5577)

<div class="topic-metadata">

**Author:** [@fiberhog](https://erlangforums.com/u/fiberhog)\
**Replies:** 14\
**Last updated:** [September 3, 2026, 3:05am UTC](https://erlangforums.com/t/tyn-a-rust-microkernel-that-runs-beam-on-bare-metal-no-linux/5577 "2026-09-03T03:05:28Z")

</div>

This has been quite a few nights and weekends, and I’m at the point where OTP 27 boots, Elixir runs, and TCP works — so I figured it was time to share it. Tyn is a minimal Rust kernel that does one thing: host the BEAM.…

---

## [Biotopes - Artificial Life on the BEAM](https://erlangforums.com/t/biotopes-artificial-life-on-the-beam/5838)

<div class="topic-metadata">

**Author:** [@beamologist](https://erlangforums.com/u/beamologist)\
**Replies:** 0\
**Last updated:** [August 3, 2026, 4:41am UTC](https://erlangforums.com/t/biotopes-artificial-life-on-the-beam/5838 "2026-08-03T04:41:10Z")

</div>

In the age of home computers, a goal for many of us was to build “something smart” on the limited devices we had available. Often, this was dreams of an “electronic brain” or, more realistically and feasible: (discrete) …

---

## [Vor - a BEAM language where the compiler verifies what AI agents write](https://erlangforums.com/t/vor-a-beam-language-where-the-compiler-verifies-what-ai-agents-write/5578)

<div class="topic-metadata">

**Author:** [@fiberhog](https://erlangforums.com/u/fiberhog)\
**Replies:** 3\
**Last updated:** [June 9, 2026, 2:03am UTC](https://erlangforums.com/t/vor-a-beam-language-where-the-compiler-verifies-what-ai-agents-write/5578 "2026-06-09T02:03:55Z")

</div>

Vor compiles to OTP gen\_server/gen\_statem. You write agents with declared states, message protocols, and safety invariants. The compiler proves the invariants, a model checker explores multi-agent message interleavings, …

---

## [Pluto - Multiagent coordinator Erlang server and client with MCP support](https://erlangforums.com/t/pluto-multiagent-coordinator-erlang-server-and-client-with-mcp-support/5617)

<div class="topic-metadata">

**Author:** [@leondavi](https://erlangforums.com/u/leondavi)\
**Replies:** 0\
**Last updated:** [May 1, 2026, 8:20pm UTC](https://erlangforums.com/t/pluto-multiagent-coordinator-erlang-server-and-client-with-mcp-support/5617 "2026-05-01T20:20:24Z")

</div>

Pluto is a small Erlang/OTP project I’ve been developing to make multi‑agent coordination feel natural for the user. It tackles the painful parts of orchestrating multiple LLM instances, things like mutex locks, message …

---

## [Erts PR for adding the ability to load shared libraries from memory](https://erlangforums.com/t/erts-pr-for-adding-the-ability-to-load-shared-libraries-from-memory/5548)

<div class="topic-metadata">

**Author:** [@saleyn](https://erlangforums.com/u/saleyn)\
**Replies:** 0\
**Last updated:** [April 10, 2026, 5:37am UTC](https://erlangforums.com/t/erts-pr-for-adding-the-ability-to-load-shared-libraries-from-memory/5548 "2026-04-10T05:37:58Z")

</div>

I implemented a feature in ERTS that is the foundation of adding the ability to escriptize applications that contain NIF shared objects. The current limitation of the BEAM is that it can only load shared objects from th…

---

## [Question about how VM deals with exceptions](https://erlangforums.com/t/question-about-how-vm-deals-with-exceptions/5410)

<div class="topic-metadata">

**Author:** [@bettio](https://erlangforums.com/u/bettio)\
**Replies:** 6\
**Last updated:** [February 9, 2026, 7:15pm UTC](https://erlangforums.com/t/question-about-how-vm-deals-with-exceptions/5410 "2026-02-09T19:15:21Z")

</div>

As far as I understand, the BEAM keeps last exception information saved into the process structure: struct process { \[...\] Uint freason; /\* Reason for detected failure. \*/ Eterm fvalue; …

---

## [BEAMUp - a new way to install Erlang, Gleam, and more to come](https://erlangforums.com/t/beamup-a-new-way-to-install-erlang-gleam-and-more-to-come/3912)

<div class="topic-metadata">

**Author:** [@tsloughter](https://erlangforums.com/u/tsloughter)\
**Replies:** 4\
**Last updated:** [November 21, 2025, 3:46pm UTC](https://erlangforums.com/t/beamup-a-new-way-to-install-erlang-gleam-and-more-to-come/3912 "2025-11-21T15:46:52Z")

</div>

BEAMUp is still early but it works for basic everyday usage so I released and am announcing it, GitHub - tsloughter/beamup: Install and control active BEAM languages. There is an curl | sh installer, or download a binary…

---

## [Any tips on how to create a BEAM language?](https://erlangforums.com/t/any-tips-on-how-to-create-a-beam-language/5210)

<div class="topic-metadata">

**Author:** [@ValorZard](https://erlangforums.com/u/ValorZard)\
**Replies:** 23\
**Last updated:** [November 11, 2025, 9:31am UTC](https://erlangforums.com/t/any-tips-on-how-to-create-a-beam-language/5210 "2025-11-11T09:31:46Z")

</div>

This is a bit off topic, but I wish there was some sort of tutorial or book on HOW to make a new language for the BEAM. It seems like a lot of fun but I have no idea where to start lol. O

---

## [What is the feasibility of mixing BEAM languages within a single project?](https://erlangforums.com/t/what-is-the-feasibility-of-mixing-beam-languages-within-a-single-project/4897)

<div class="topic-metadata">

**Author:** [@borisd](https://erlangforums.com/u/borisd)\
**Replies:** 1\
**Last updated:** [July 15, 2025, 8:32am UTC](https://erlangforums.com/t/what-is-the-feasibility-of-mixing-beam-languages-within-a-single-project/4897 "2025-07-15T08:32:11Z")

</div>

Hi, I’m exploring the Erlang ecosystem and I’m very pleased with the variety of programming languages that run on the BEAM. Given that my interest is related to the web platform, the most popular libraries and projects …

---

## [Seg fault in erl\_gc.c OTP 24.1.3](https://erlangforums.com/t/seg-fault-in-erl-gc-c-otp-24-1-3/4481)

<div class="topic-metadata">

**Author:** [@alanj853](https://erlangforums.com/u/alanj853)\
**Replies:** 4\
**Last updated:** [February 13, 2025, 9:32am UTC](https://erlangforums.com/t/seg-fault-in-erl-gc-c-otp-24-1-3/4481 "2025-02-13T09:32:50Z")

</div>

Hi, This post is related to Seg Fault OTP 24.1.3 · Issue #9385 · erlang/otp · GitHub on the OTP repo. I posted the question, and am trying to reproduce the issue with OTP 26.2.5 at present, but am still searching for th…

---

## [Compile regular beam.smp and output symbols to file](https://erlangforums.com/t/compile-regular-beam-smp-and-output-symbols-to-file/4432)

<div class="topic-metadata">

**Author:** [@alanj853](https://erlangforums.com/u/alanj853)\
**Replies:** 7\
**Last updated:** [February 4, 2025, 11:03am UTC](https://erlangforums.com/t/compile-regular-beam-smp-and-output-symbols-to-file/4432 "2025-02-04T11:03:40Z")

</div>

Hi, I am wondering has anyone ever tried to compile the beam files but output the debug symbols to a file, like here for example: debugging - How to generate gcc debug symbol outside the build target? - Stack Overflow T…

---

## [Debug Emulator fails to run with exqlite NIF](https://erlangforums.com/t/debug-emulator-fails-to-run-with-exqlite-nif/4399)

<div class="topic-metadata">

**Author:** [@alanj853](https://erlangforums.com/u/alanj853)\
**Replies:** 6\
**Last updated:** [January 22, 2025, 7:18pm UTC](https://erlangforums.com/t/debug-emulator-fails-to-run-with-exqlite-nif/4399 "2025-01-22T19:18:37Z")

</div>

OTP Version: 24.1.3 Elixir Version: 1.12.1 Machine: Linux GNU x86\_64 Hi, I am looking for help with the following error I am getting when I try to run my elixir project with the debug emulator. Here is the error: Er…

---

## [Anyone explored using WebAssembly for NIFs?](https://erlangforums.com/t/anyone-explored-using-webassembly-for-nifs/2360)

<div class="topic-metadata">

**Author:** [@lpil](https://erlangforums.com/u/lpil)\
**Replies:** 5\
**Last updated:** [January 3, 2025, 3:16am UTC](https://erlangforums.com/t/anyone-explored-using-webassembly-for-nifs/2360 "2025-01-03T03:16:17Z")

</div>

Hello! I was wondering if anyone has explored using WebAssembly for NIFs? As well as being very hip and trendy (always important :wink:) wasm seems to have some nice properties that fit the BEAM well. Due to its sand…

---

## [Erlang in 100 Seconds](https://erlangforums.com/t/erlang-in-100-seconds/4245)

<div class="topic-metadata">

**Author:** [@vkatsuba](https://erlangforums.com/u/vkatsuba)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 1:44pm UTC](https://erlangforums.com/t/erlang-in-100-seconds/4245 "2024-12-03T13:44:45Z")

</div>

Wow, I just stumbled upon this gem on YouTube: Erlang in 100 Seconds. :rocket: I had no idea Erlang could be summarized and explained so effectively in such a short time! The video highlights the core concepts of Erlang…

---

## [Performance of small vs large maps](https://erlangforums.com/t/performance-of-small-vs-large-maps/4197)

<div class="topic-metadata">

**Author:** [@RoadRunnr](https://erlangforums.com/u/RoadRunnr)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 8:49pm UTC](https://erlangforums.com/t/performance-of-small-vs-large-maps/4197 "2024-11-21T20:49:59Z")

</div>

I’ve been wondering what impact the type and size of a key in a map has on performance. My primitive micro benchmark (Erlang maps benchmark · GitHub, run with something like t7:test(\<\<"foobar"\>\>, 10\_000\_000).) shows tha…

---

## [Scheduling on asymmetric CPU cores](https://erlangforums.com/t/scheduling-on-asymmetric-cpu-cores/4097)

<div class="topic-metadata">

**Author:** [@al2o3cr](https://erlangforums.com/u/al2o3cr)\
**Replies:** 1\
**Last updated:** [November 9, 2024, 4:46pm UTC](https://erlangforums.com/t/scheduling-on-asymmetric-cpu-cores/4097 "2024-11-09T16:46:43Z")

</div>

Most modern CPUs have multiple “kinds” of cores with different performance characteristics. Is there a good place to look for discussion of how to leverage this for BEAM? Background / links: short piece from Intel on …

---

## [BEAM bytecode for types - are there any plans on adding more type information to the bytecode?](https://erlangforums.com/t/beam-bytecode-for-types-are-there-any-plans-on-adding-more-type-information-to-the-bytecode/4169)

<div class="topic-metadata">

**Author:** [@marknefedov](https://erlangforums.com/u/marknefedov)\
**Replies:** 1\
**Last updated:** [November 9, 2024, 4:06pm UTC](https://erlangforums.com/t/beam-bytecode-for-types-are-there-any-plans-on-adding-more-type-information-to-the-bytecode/4169 "2024-11-09T16:06:41Z")

</div>

Hi, first of all, I’m very new to the ecosystem, BEAM is a phenomenal technology, with recent works in Elixir and Gleam, are there any plans/works on adding more type information to the bytecode, something along the line…

---

## [Understanding BEAM bytecode - request for resources!](https://erlangforums.com/t/understanding-beam-bytecode-request-for-resources/4167)

<div class="topic-metadata">

**Author:** [@Saatvik](https://erlangforums.com/u/Saatvik)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 4:25pm UTC](https://erlangforums.com/t/understanding-beam-bytecode-request-for-resources/4167 "2024-11-06T16:25:03Z")

</div>

For my undergraduate project I decided to write an alternate VM for BEAM bytecode (or a subset of it). I have no prior experience with BEAM/any BEAM languages. I am now looking for any good resources that would help wit…

---

## [Possible causes for infrequent exceptions that don't make sense](https://erlangforums.com/t/possible-causes-for-infrequent-exceptions-that-dont-make-sense/4034)

<div class="topic-metadata">

**Author:** [@fhunleth](https://erlangforums.com/u/fhunleth)\
**Replies:** 4\
**Last updated:** [September 29, 2024, 4:10pm UTC](https://erlangforums.com/t/possible-causes-for-infrequent-exceptions-that-dont-make-sense/4034 "2024-09-29T16:10:29Z")

</div>

We have a lot of IoT devices running the BEAM. We log exceptions and periodically get ones that don’t make sense. These are very low in frequency (probably less than 1 per 100K devices/week) and the code calling them rec…

---

## [Forum notification mail DKIM problem](https://erlangforums.com/t/forum-notification-mail-dkim-problem/3929)

<div class="topic-metadata">

**Author:** [@mmzeeman](https://erlangforums.com/u/mmzeeman)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 7:00am UTC](https://erlangforums.com/t/forum-notification-mail-dkim-problem/3929 "2024-08-23T07:00:09Z")

</div>

This is just a notification, but forum notification emails are not delivered anymore because of a DKIM problem. Is there something I can help with to get that fixed? Regards, Maas

---

## [New paper: Unsafe Impedance: Safe Languages and Safe by Design Software](https://erlangforums.com/t/new-paper-unsafe-impedance-safe-languages-and-safe-by-design-software/3843)

<div class="topic-metadata">

**Author:** [@adolfont](https://erlangforums.com/u/adolfont)\
**Replies:** 8\
**Last updated:** [August 7, 2024, 10:47am UTC](https://erlangforums.com/t/new-paper-unsafe-impedance-safe-languages-and-safe-by-design-software/3843 "2024-08-07T10:47:14Z")

</div>

A preprint of “Unsafe Impedance: Safe Languages and Safe by Design Software” is now available on arxiv \[2407.13046\] Unsafe Impedance: Safe Languages and Safe by Design Software. Lee Barney (BYU-Idaho) and I are the autho…

---

## [Does \`max\_heap\_size\` kill the process before/during/after garbage collection?](https://erlangforums.com/t/does-max-heap-size-kill-the-process-before-during-after-garbage-collection/3819)

<div class="topic-metadata">

**Author:** [@justgage](https://erlangforums.com/u/justgage)\
**Replies:** 2\
**Last updated:** [July 12, 2024, 5:32pm UTC](https://erlangforums.com/t/does-max-heap-size-kill-the-process-before-during-after-garbage-collection/3819 "2024-07-12T17:32:03Z")

</div>

We’re doing some pretty memory (and time) intensive customer calculations (like 32gb of memory or more) which require us to jail our customers calculations using the process flag max\_heap\_size. This flag will effectively…

---

## [Why ssl\_session\_cache\_api:size is strictly positive instead of non\_neg?](https://erlangforums.com/t/why-ssl-session-cache-api-size-is-strictly-positive-instead-of-non-neg/3728)

<div class="topic-metadata">

**Author:** [@maxlapshin](https://erlangforums.com/u/maxlapshin)\
**Replies:** 0\
**Last updated:** [June 17, 2024, 9:43am UTC](https://erlangforums.com/t/why-ssl-session-cache-api-size-is-strictly-positive-instead-of-non-neg/3728 "2024-06-17T09:43:09Z")

</div>

\-callback size(CacheRef) -\> Size when CacheRef:: session\_cache\_ref(), Size :: pos\_integer(). Why zero is not allowed here?

---

## [Occasional nodedown/noconnection issues](https://erlangforums.com/t/occasional-nodedown-noconnection-issues/3710)

<div class="topic-metadata">

**Author:** [@holger](https://erlangforums.com/u/holger)\
**Replies:** 5\
**Last updated:** [June 11, 2024, 9:50pm UTC](https://erlangforums.com/t/occasional-nodedown-noconnection-issues/3710 "2024-06-11T21:50:10Z")

</div>

We’re running a mildly loaded ejabberd instance (something like 50k Erlang processes), the OS load is usually below 1. The instance is queried once every few minutes by local clients using rpc/erpc (to perform simple mon…

---

## [Krarup: A new BEAM language](https://erlangforums.com/t/krarup-a-new-beam-language/3661)

<div class="topic-metadata">

**Author:** [@mpope](https://erlangforums.com/u/mpope)\
**Replies:** 2\
**Last updated:** [May 31, 2024, 8:55pm UTC](https://erlangforums.com/t/krarup-a-new-beam-language/3661 "2024-05-31T20:55:07Z")

</div>

I’m introducing krarup, a dialect of Erlang meant to quickly prototype concurrent data processing. This partly is inspired by a Code BEAM 2024 Keynote and from trying to build either one-off scripts, prototype concurrent…

---

## [What do we need for better BEAM interop?](https://erlangforums.com/t/what-do-we-need-for-better-beam-interop/245)

<div class="topic-metadata">

**Author:** [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Replies:** 38\
**Last updated:** [March 25, 2024, 4:53am UTC](https://erlangforums.com/t/what-do-we-need-for-better-beam-interop/245 "2024-03-25T04:53:47Z")

</div>

It’s a topic that’s come up a few times over the years - what would be needed for better interoperability between BEAM languages? For instance, to make it easier to use Phoenix in Erlang? I touched upon this briefly wit…

---

## [Sharing my experience with Elixir and Erlang interop](https://erlangforums.com/t/sharing-my-experience-with-elixir-and-erlang-interop/3334)

<div class="topic-metadata">

**Author:** [@KayEss](https://erlangforums.com/u/KayEss)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 10:38am UTC](https://erlangforums.com/t/sharing-my-experience-with-elixir-and-erlang-interop/3334 "2024-03-03T10:38:02Z")

</div>

I just wanted to recount some problems I came across with trying to use some Erlang libraries from Elixir. I’m relatively new to the eco system (although I’ve been a developer for 40 years), but thought it might be inter…

---

## [WebAssembly (Wasm) Stack Machine on BEAM](https://erlangforums.com/t/webassembly-wasm-stack-machine-on-beam/2957)

<div class="topic-metadata">

**Author:** [@vances](https://erlangforums.com/u/vances)\
**Replies:** 4\
**Last updated:** [October 18, 2023, 4:35pm UTC](https://erlangforums.com/t/webassembly-wasm-stack-machine-on-beam/2957 "2023-10-18T16:35:02Z")

</div>

Has anyone looked at implementing a Wasm stack machine on BEAM?

[Next page](https://erlangforums.com/c/beam-forum/59.md?page=1)
