Get the latest tech news

We can do better than line-buffered output


gram.com/blog/2026/11/05/ Buffered output typically comes in two flavors: fully buffered and line buffered. If output goes to a terminal then the implementation automatically selects line buffering, flushing its buffer when a line is completed so that it reaches the user immediately.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of line

line

Photo of buffered output

buffered output

Related news:

News photo

Practice speaking Japanese with real YouTube videos, graded line by line

News photo

ASML’s CEO is putting his paycheck on the line for employee morale. It could help retain talent that’s nearly impossible to replace

News photo

Nvidia wants to turn old nuclear power plants into huge AI data centers — but says it draws the line at turning them back on