Refterm v2 - Resource usage, binary splat, glyph sizing, and more

Channel:Molly Rocket · Length:29:51 · Published:2021-07-11 · Views:68069

Watch on YouTube

Summary

Casey Muratori follows up his refterm proof-of-concept, a GPU-based terminal renderer, with a second part covering memory usage, glyph sizing and correct Unicode and VT handling. It is built to show that a terminal can be fast and correct without heroic effort.

Why HN recommends it

HN points to it as proof that a small, straightforward renderer can beat Windows Terminal on speed and memory, whenever software slowness comes up.

Casey Muratori produced a highly correct Unicode renderer with correct VT code support. Watch the video — HN, 2021

Software performance & optimization · Graphic design & typography · Computer graphics & rendering

Subtitles (excerpt)

hey everybody i hope you had fun watching the excuse parade roll by i wanted to show you some rough term v2 stuff what i tried to do was just take a look at all of what the biggest floats in the excuse parade were and just go ahead and fix those because you know obviously i don't really think there was much left of the imagination the previous demo but for people who had things that concerned them i went ahead and took care of them in v2 this weekend so if you take a look at the screen right now what you can see is there's windows terminal on the right and there's ref term v2 on the left and you'll notice some things we've got strikethrough and underline now and some more vt code parsing i also have a unicode thing that comes up on the original screen as well just for testing purposes i find it makes it a little easier if you're happy to play with the ref term source code so some of the things that i saw in the excuse parade were people were worried about the memory usage and the way that they were measuring the memory usage was by looking here at the little memory uh thing in the task manager so i thought i'd bring that up and demonstrate what the current memory usage actually is on ref term v2 so what you can see is windows terminal

On Hacker News

Oh, this is nothing . Windows force-updated my Notepad.exe to the new modern UI version. It is very visibly laggy for basic actions such as opening menus or scrolling through text. You have to be spectacularly bad at programming to make something so basic so slow in 2022 on a very high-end gaming computer. Not just bad, but utterly oblivious. Casey Muratori excoriated the Windows Terminal dev tea… — jiggawatts, 2022-09
Don't assume. Casey Muratori produced a highly correct Unicode renderer with correct VT code support. Watch the video: [VIDEO] — jiggawatts, 2021-10
For reference, I've never seen the built-in Windows VPN protocols exceed ~70 Mbps in any scenario. Maybe it's possible with a crossover cable between two Mellanox 100 Gbps NICs, using water-cooled and overclocked CPUs, but not over ordinary networks with ordinary servers. I have gigabit wired Internet to a site with gigabit Internet. Typical performance of SSTP or IKEv2 is 15-30 Mbps. That's 1.5%… — jiggawatts, 2021-08
In his follow up video[0], he shows that in-use-memory is half that of Windows terminal, whilst simultaneously being >100x faster. Windows terminal chugging away in the background consuming 20% CPU for minutes at a time whilst he's debunking these claims / running the same data on refterm a few times over is hilarious (inflammatory or not). 0. [VIDEO] — fredrikholm, 2021-07
You should look into Casey Muratori's quest[1] against Windows terminal slowness on github and youtube. There were some heated exchanges there and some proof of concept software created to demonstrate both how slow Windows Terminal is, and how fast a GPU enabled terminal can be. [1] The latest video for it is here: [VIDEO] — mariusor, 2021-07

Related videos