3 ms·
> 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 rational
by epcoa 3y ago
> 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.