Skip to content

Commit 6ff22f9

Browse files
brettcannonjosevalim
authored andcommitted
Fix a statement about the heaviness of threads in other programming languages (elixir-lang#1196)
1 parent eedbef3 commit 6ff22f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/processes.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Processes
99

1010
In Elixir, all code runs inside processes. Processes are isolated from each other, run concurrent to one another and communicate via message passing. Processes are not only the basis for concurrency in Elixir, but they also provide the means for building distributed and fault-tolerant programs.
1111

12-
Elixir's processes should not be confused with operating system processes. Processes in Elixir are extremely lightweight in terms of memory and CPU (unlike threads in many other programming languages). Because of this, it is not uncommon to have tens or even hundreds of thousands of processes running simultaneously.
12+
Elixir's processes should not be confused with operating system processes. Processes in Elixir are extremely lightweight in terms of memory and CPU (even compared to threads as used in many other programming languages). Because of this, it is not uncommon to have tens or even hundreds of thousands of processes running simultaneously.
1313

1414
In this chapter, we will learn about the basic constructs for spawning new processes, as well as sending and receiving messages between processes.
1515

0 commit comments

Comments
 (0)