|
|
|
|
|
by castell
3299 days ago
|
|
> 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. |
|