Hacker News new | ask | show | jobs
by Matheus28 4064 days ago
The server is written in C++ with libuv to abstract networking (since I test it on windows but the servers run on linux).

See my reply to madeofpalk for the other 2 answers.

1 comments

Why the decision to use C++ instead of NodeJS?
The main limitation on a server capacity is CPU
Probably speed.
Think that part of it is that only one process or thread can run at any given time in node. So, if you have a complicated multiplayer server, subroutines will start getting blocked.
Is it signifiant? I haven't even thought to lookup benchmarks.