3 ms·
Node.js is actually an interesting idea. Instead of threads they force you to write non-blocking code based on callbacks. JavaScript made sense because web de
by wmil 13y ago
Node.js is actually an interesting idea. Instead of threads they force you to write non-blocking code based on callbacks.
JavaScript made sense because web devs already knew it. Also, and more importantly, there was no blocking io library.
So the developer is forced to write code in a way that makes Node perform well.