因此,操作系统的设计人员找到快速切换上下文、划分内存资源,并且使用空闲周期的方法,这样多个程序就可以表面上同时运行了。
Therefore the designers of operating systems found ways to rapidly switch contexts, partition the memory resources, and use the idle cycles so multiple programs could run, seemingly simultaneously.
每读一本都要占用你大脑的内存,如果在两本书之间切换着读,就很有可能忘记关键的细节。如果书读不下去也不要搁置一边。
Each book USES up your mental RAM, making it more likely to forget critical details when switching between books.
Erlang中的进程内存较小,可快速启动和进行上下文切换。
Processes in Erlang are assumed to be small in memory, fast to start, and fast to context-switch.
应用推荐