TLDR Dev · ARTICLES & TUTORIALS

DRAWING TEXT ON SCREEN - WHAT COULD BE SIMPLER?

cv.co.hu5 min read

Summary from the TLDR Dev newsletter

This dev rewrote a text-based file manager in Go as a learning exercise, focusing on input and output handling. They used C# and explored different rendering methods, including console methods, GDI, DirectX, and Vulkan. They found that direct text drawing with DirectX performed the best for normal use, better than texture-based caching despite the latter's advantage in extreme stress test scenarios. However, efficient text rendering is more complex than it initially appears.