4 ms·
So last time I looked at it, Node.js did not have any language level or even library primitives for message passing. At least nothing beyond making you open a
by moonpolysoft 16y ago
So last time I looked at it, Node.js did not have any language level or even library primitives for message passing. At least nothing beyond making you open a socket and work out your own protocol for IPC. I'll grant you that is the standard scalability story for most languages running on multiple hosts. However it seems deficient if one's goal is to make use of most of the cores on modern server hardware.
- pjscott 16y agoThat's a really good point. What sort of message passing support would you like to see in node? I have some free time.
- silentbicycle 16y agoBeing able to stream arbitrary data as JSON already get you a lot of flexibility. Can you stream Javascript functions, though? (You can in Lua, but doing so w/ closures is tricky.)