News for hackers. Stuff that matters.
Re:Why stdout is faster than stderr? by rwmj on Wednesday January 10, 2024 @09:17AM (#38939223)
A lot of words. Is it because of line buffering?

coreutils has a very hairy program called stdbuf which can change the line buffering of an existing program. It uses LD_PRELOAD(!) to preload a library which overrides the program's defaults.

Re:Why stdout is faster than stderr? by loeg on Wednesday January 10, 2024 @03:34PM (#38942698)
The short version is yeah. Rust line-buffers stdout but not stderr, for no particularly good reason.