News for hackers. Stuff that matters.
Re:It’s Time for a Modern Synthesis Kernel by vidarh on Tuesday July 02, 2019 @11:21PM (#20341342)
You'd think so, but it's crazy how much code does not minimize system calls at all. Things like read() to read the length of a string followed by a second read() to read the string (hopefully after sanity checks..) is rife. "strace -c" is my favorite first stop when something looks slower than it should, and it's just insanely frustrating how often it reveals poorly written code.

There are no comments on this comment yet.