3 ms·
With Node I get the best of two worlds: high concurrency and speed With Node you still need to write in an event-based style, which is something devs often com
by stephth 15y ago
With Node I get the best of two worlds: high concurrency and speed
With Node you still need to write in an event-based style, which is something devs often complain about working with Node.js.
"With goroutines and channels, you can say 'I'm going to send a message to another goroutine or wait for a message from another goroutine', but you don't have to actually leave the function you're in to do that," Gerrand says. "That lets you write asynchronous code in a synchronous style. As people, we're much better suited to writing about things in a synchronous style."
from http://www.theregister.co.uk/2011/05/05/google_go/page4.html http://www.theregister.co.uk/2011/05/05/google_go/page4.html
- jerf 15y agoIt's going beyond cute and getting into downright tedious that the Node.js crew think they have some sort of unique lock on concurrency and speed, when instead they are late to the party with an inferior implementation. This meme needs to die. I'd take Go in a heartbeat over Node.js for anything remotely non-trivial.
- deleted 15y ago[deleted]