Comment by Towaway69
1 day ago
Thank you for the clarification :+1:
I think you said it yourself in that by default NodeJS is single threaded so the mystic remains even if it’s not true.
What would be a fun project would be to make worker threads as seamless as processes are in Erlang. Ie back-port all the ideas of Erlang to NodeJs and then implement something like Erlang Red on top of that!
Another example is that Erlang Red, which based on Node-Red, has supervisor nodes that implement the supervisor behaviour. These nodes could now be backported to Node Red so that it would also have the supervisor behaviour in NodeJS.
No comments yet
Contribute on Hacker News ↗