-
13 votesanswersviews
轻量级进程和线程有什么区别?
我找到了问题here的答案 . 但我不是't understand some ideas in the answer. For instance, lightweight process is said to share its logical address space with other processes. What does it mean? I can understand the s... -
153 votesanswersviews
从技术上讲,为什么Erlang中的进程比OS线程更有效?
Erlang的特点 来自Erlang Programming(2009): Erlang并发性快速且可扩展 . 它的进程是轻量级的,因为Erlang虚拟机不会为每个创建的进程创建一个OS线程 . 它们在VM中创建,调度和处理,与底层操作系统无关 . 结果,进程创建时间大约为微秒,并且与并发存在的进程的数量无关 . 将其与Java和C#进行比较,其中为每个进程创建一个底层OS线程:您将获得一些非常...