Will Node.js forever be the sluggish Golang?
medium.com
medium.com
The whole article is badly written.
First it assumes that the lower performance is something insufferable -- when in most cases, and for most project, it doesn't matter at all.
Then it fails to understand the important of developer pool, convenience, ecosystem, etc, as if JS and Node could be willy nilly replaced by Golang for every project.
Third, it pisses (as above) on Node web framework projects, just because Node.js has a performance top (as a single process lower than Golang.
Also the importance of the overall architecture for performance is not accounted at all -- or the fact that as long as you add some database queries the speed benefit over Node diminishes...
In fact I gave up around the insults at various Express-successors, and missed that the main point of the article is the µWebSockets.js.
Why not go into that directly and skip the rest? That's what people would want to know, not that "Node is worse than Golang in raw performance".
It didn't seem to point to some novel work, just to be some kind of piss take on Node.
Node/JS offer some serious advantages. An expansive ecosystem of modules for which to build applications quickly. A well-known scripting language that allows for fast development and turn over. A language that allows for less distraction and context switching when going from one layer to another in terms of full stack development. Allows for a complete feature set to be in a single language with less disconnect to the front end.
I won't say there isn't a place for other languages. I will say that applications created with JS front and back using Node as at least the direct API/middle tier tend to be up and running faster, and perform well enough for most tasks if horizontal scaling is already part of the overall design of the application.
It also does well for cross platform scripting and orchestrating CPU intensive tasks.
Feels similar to comparing C# to C.
Keep it up alex!