Newby: BEAM design document

Hello,

I got interested in Erlang and want to drill down into how exactly the VM is designed to provide its concurrent, fault tolerant capabilities – including its battle tested design rationales.

Are there resources you could recommend to look into …

thank you,

Dan

2 Likes

Hello and welcome,

You might be interested by…

… and

4 Likes

Thank you.

To study the design i have this (half baked idea) to capture some of it in SWI-Prolog to “simulate” Erlang processes scheduling and message passing. First, starting with the scheduling approach and simple message passing cases.

As an aside, I understand that Erlang was first implemented in Prolog and later rewritten in C – so, it might be interested to see how a (small) subset might do in a modern Prolog implementation.

Dan