Skip to content

Instantly share code, notes, and snippets.

@Twipped
Last active August 29, 2015 14:11
Show Gist options
  • Save Twipped/2945df2514b0a0c04b77 to your computer and use it in GitHub Desktop.
Save Twipped/2945df2514b0a0c04b77 to your computer and use it in GitHub Desktop.
Edited excerpt from Freenode#node.js
owen1: what is the reason that almost everything in node is async?
myndzi: async because that's the point of having a single threaded event loop system
owen1: so since node just uses javascript, even if ryan wanted to make it sync, it would be impossible?
myndzi: it's possible to make synchronous functions in node, but it would pretty much defeat the purpose
myndzi: it's kind of like asking "why aren't you using asparagus in this apple pie?"
myndzi: it's not like you can't bake an asparagus pie, it's more like why would you want to? :P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment