3 ms·
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
by Thaxll 7y 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 https://github.com/uNetworking/uWebSockets
- PopeDotNinja 7y agoIsn'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.
- codesushi42 7y agoAt that point, you may as well implement your own server in C++ using epoll.
- winrid 7y agoNah. Devs don't touch C++ code in this case.