News for hackers. Stuff that matters.
Re:Why stdout is faster than stderr? by loeg on Wednesday January 10, 2024 @05:58PM (#38944711)
The criticisms of file descriptors and files and device nodes and Linux-centrism are all totally reasonable.

The stackoverflow link is irrelevent -- it is a question about C. Rust's stdlib and implementation of stdout/stderr buffering is wholly unrelated to the one in C.

Re:Why stdout is faster than stderr? by epcoa on Wednesday January 10, 2024 @09:21PM (#38946637)
> Rust's stdlib and implementation of stdout/stderr buffering is wholly unrelated to the one in C.

They're not wholly unrelated, they are related. The rationale for the implementation in both cases is the same (whether it is good, nonwithstanding). There are stack overflow questions related to the rust implementation, I selected a non rust to illustrate it's more than some rust specific implementation detail that occurred in a vacuum.