gpt4 book ai didi

erlang - Node 的 Web Worker 会取代 Erlang 吗?

转载 作者:搜寻专家 更新时间:2023-10-31 22:55:33 24 4
gpt4 key购买 nike

<分区>

我很好奇 Erlang 是否会被 Node.js 杀死,Node.js 可能非常流行、速度快并且有 web workers .是否可以?为什么?

But what about multiple-processor concurrency? Aren't threads necessary to scale programs to multi-core computers? Processes are necessary to scale to multi-core computers, not memory-sharing threads. The fundamentals of scalable systems are fast networking and non-blocking design—the rest is message passing. In future versions, Node will be able to fork new processes (using the Web Workers API ) which fits well into the current design.

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com