?/100

[EPILEPSY WARNING] How fast should an unoptimized terminal run?

July 3, 202175186

Description

[EPILEPSY WARNING] At the end of this video, I demonstrate colored text on colored background tiles. The reference renderer displays this benchmark so quickly that the screen appears to flash colors violently. If you are photo-sensitive, you may want to stop watching the video before I run the colored text demo. [/EPILEPSY WARNING] Many modern terminals (like Windows Terminal, etc.) run extremely slowly - often hundreds or thousands of times slower than PC hardware allows. Yet for some reason, pointing this out leads to lots of strange excuses from developers, all of which are not true. In this video, I demonstrate how a very simple (~3000 line) codebase written in a few days - and literally never optimized at all - still runs by default at thousands of frames per second under real-world conditions, while supporting features that many modern terminals don't, like right-to-left strings of Arabic combining Unicode. The course mentioned in the video is Star Code Galaxy (https://starcodegalaxy.com). The code for this reference rasterizer is available under GPLv2 on GitHub (https://github.com/cmuratori/refterm)

Wheatcha