News for hackers. Stuff that matters.
Re:My Reality Moment. Why did I ever agree to do this? by MichaelGG on Friday September 18, 2015 @10:03PM (#10243021)
What's so special about JS's dynamic side that makes async IO easy? Any functional language should be able to do so. And even better than JS, as they may have syntax to avoid all those nested callbacks, while still flowing the environment/error handling.

In fact, JS doesn't seem to have anything that's specifically suited for async IO at all, apart from clumsy closures.

Also, string handling can often be a bottleneck. Anything dealing with HTTP the protocol, for instance, will have all sorts of crazy hacks to parse that messed-up text format as fast as possible. (And this is a major reason why HTTP/2 isn't text-based.)

There are no comments on this comment yet.