Comment

Comment by castell

> Erlang code is single threaded. Each Erlang "process" is an isolated, share-nothing single sequence of instructions, and you don't use semaphores, locks, or critical sections in writing Erlang code. The BEAM VM is implemented as a multithreaded process, but this is not exposed to the Erlang code

The same is true for PHP.

No wonder Facebook developed HHVM for PHP and also uses Erlang with WhatsApp and other parts.

parent castell 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton