April 2018
Beginner to intermediate
406 pages
9h 33m
English
A process is how Elixir is able to do so much all at the same time with no ill effects. As mentioned previously, processes are independent threads of work that BEAM manages. They're small, efficient, and memory-isolated. In fact, they're so small and efficient that even on relatively low-powered machines, you can safely run millions of processes all at the same time. They do not require copies of the entire language and ecosystem behind them for each one you spawn, so they end up being a currency that you can spend freely instead of having to ration them out and make trade-offs to implement and use them!