Hacker News new | ask | show | jobs
by Thaxll 2448 days ago
This is actually not true, if you take a really optimzied C/C++ library for WS Nodejs will crush Elixir by a large margin. Elixir / Erlang is slow and consume a lot of memories compared to more native languages or C libraries.

Ex: https://github.com/uNetworking/uWebSockets

2 comments

Isn't this like saying one can bolt a rocket onto a Ford to make it much faster than a Toyota? One can incorporate C/C++ into Elixir, too.
At that point, you may as well implement your own server in C++ using epoll.
Nah. Devs don't touch C++ code in this case.