3 ms·
Why is it cheating to use a buffer? This is the behavior you would get in C if you used the C standard library (putc/fputc) instead of a system call (write).
by cout 4y ago
Why is it cheating to use a buffer? This is the behavior you would get in C if you used the C standard library (putc/fputc) instead of a system call (write).
- megous 4y agoBecause it doesn't answer the question "how fast individual languages write individual characters to a pipe" if in fact some languages do not. It's not language "cheating" of course. It's just OP "measuring the wrong thing".