Skip to content
0:00 / 0:00

#refterm#handmadehero#terminal-emulator

Refterm Lecture Part 2 - Slow Code Isolation

Molly Rocket

148K subscribers • 32 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Advanced. Deep dive for people who know the field.

50K views5 years ago1 recommendation

Systems programmingTools and practicePerformance and optimizationCRendering

An explanation of how to isolate slow code paths and measure performance bottlenecks in a terminal emulator.

kickstarter.com/projects/annarettberg/meow-the-infinite-book… Live Channel: twitch.tv/molly_rocket Part 1: youtu.be/pgoetgxecw8 Part 3: youtu.be/hNZF81VYfQo Part 4: youtu.be/cGoQ3ceKX6g Part 5: youtu.be/e1cvqmXoVaI

Why it's here

1 person recommends this

What people say. Recommended as part of a series on building and optimizing a high-performance terminal emulator.

u/skeetoin r/C_Programming • Recommends

On “Looking for for resources to write a win32 terminal emulator”

Over just the past few months there was all this hubbub about building a high performance terminal emulator for Windows since Microsoft is unable to do so. Here's that series: * How fast should an unoptimized terminal run? * Refterm v2 - Resource usage, binary splat, glyph sizing, and more * Refterm Lecture Part 1 - Philosophies of Optimization * Refterm Lecture Part 2 - Slow Code Isolation * Refterm Lecture Part 3 - Minimal Buffer Processing * Refterm Lecture Part 4 - Glyph Hash Table * Refterm Lecture Part 5 - Parsing with SIMD Source: https://github.com/cmuratori/refterm

u/skeetoin r/C_Programming • Recommends

On “Beside SDL, is there an easier way to just show a custom rectangle with text, cross-platform?”

…bitmap stuff was wasteful. How do you think TTF rendering works? It's the same thing! The only difference is that you use a font renderer to build the raster font at startup from a vector font. Check out this short series about refterm, which deliberately uses a slow system font renderer, but places a hash table in front to amortize its costs: * link to this video * link to this video * link to this video * link to this video * link to this video * link to this video * https://github.com/cmuratori/refterm…