Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
low stdout performance with many writes #41808
I was watching one of Jonathan Blow's videos on youtube where he mentioned how slow the CLI became over the years and how printing a dumb text on the screen is slower than rendering 60 frames of AAA game(not his words). And that resonated with me because I have observed this behavior myself many times now when I have a ton of writes into stdout the cli is just incredibly slow/laggy so I usually avoid it. I think this is because there is some kind of slow buffer in the background that batches the writes and somehow makes stdout slow or, most likely, it is a rendering issue. So I was wondering if this could be "fixed" in Go somehow or if this is a OS issue where the OS makes the CLI slow? If so, I was wondering if we could use some kind of simple built-in 2d/3d engine to render the console ourselves instead of the OS provided CLI?