4 ms·
From a pure performance perspective the most important aspect of servers is the kernel/userspace IO handoff, and relatedly the scheduling of work. The best way
by jonahbenton 4y ago
From a pure performance perspective the most important aspect of servers is the kernel/userspace IO handoff, and relatedly the scheduling of work. The best way to learn and study this is to work in C.
Writing a server in C++ or (especially) Java is an exercise in sacrificing some elements of pure performance to deliver an artifact your team has the skills to maintain or build on. There are specific- quite different- performance considerations in those languages that are really about the quite different runtimes of those languages. The mechanical things one does in Java to avoid garbage are different than what one does in C++ to solve for codegen.