3 ms·
Imo it depends on what you mean by "faster". As a node dev, if I'm chasing performance I'd look for libraries with c++ bindings, like uWebSockets[0] for exampl
by joshxyz 6y ago
Imo it depends on what you mean by "faster".
As a node dev, if I'm chasing performance I'd look for libraries with c++ bindings, like uWebSockets[0] for example.
NodeJS internal apis also got cluster and worker_threads which are handy when distributing workload in multiple cores.
On the other hand if you're talking about faster dev speed, nodejs is ok too since i can reuse some modules in backend and frontend.
Of course golang has advantage in terms of types (i abuse assert in nodejs to makeup for this) and performance (i throw money on hardware instead, if really needed), but question is do you really need those right now? The answer greatly varies per project.
[0] https://github.com/uNetworking/uWebSockets.js/ https://github.com/uNetworking/uWebSockets.js/