News for hackers. Stuff that matters.
Re:Elixir in Depth – Reading and personal notes by tim333 on Thursday August 17, 2017 @08:39PM (#15042448)
While it can be a little unclear what people mean, the Wikipedia take on threads is:

"Multiple threads can exist within one process, executing concurrently and sharing resources such as memory"

Whereas Erlang/Elixir processes don't share memory and have their own independent heaps and garbage collection.

Shared memory can lead to complicated effects if two threads try to change the same bit. You don't have that with Erlang processes.

There are no comments on this comment yet.