Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 14 days agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square60fedilinkarrow-up11arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up11arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 14 days agomessage-square60fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·14 days agoDon’t most terminals flush the buffer on newline anyway?
minus-squarevapeloki@lemmy.worldlinkfedilinkarrow-up0·14 days agoMaybe, but there is the internal buffer. Also, most I/O happens in files not consoles
minus-squareClemaX@lemm.eelinkfedilinkarrow-up0·14 days agoIt is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.
Don’t most terminals flush the buffer on newline anyway?
Maybe, but there is the internal buffer. Also, most I/O happens in files not consoles
It is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.