News for hackers. Stuff that matters.
Re:“Clean” Code, Horrible Performance by cma on Tuesday February 28, 2023 @09:35AM (#34969712)
It was Windows Terminal he wrote something faster than. Windows terminal was doing a whole GPU draw call per character (at 2x standard terminal height, 160x25, it was as many draw calls as a AAA game).
Re:“Clean” Code, Horrible Performance by gongle on Tuesday February 28, 2023 @04:44PM (#34975294)
No matter what design choices you argue for there are always ways to be an idiot about the implementation
Re:“Clean” Code, Horrible Performance by vkou on Tuesday February 28, 2023 @07:34PM (#34977109)
Which is an excellent argument for why the WT team should have done some benchmarking, identified that they have a really dumb O(M*N) bottleneck in their rendering code, and optimized it.

It is not an excellent argument for why 'clean code' is not a better fit for the other 99% of their codebase.