Skip to content

Comment on Zed for Windows: What's Taking So Long?parent

Comments

Since it's more than quick enough to do this on the CPU

This is true until it isn't. A modern-ish CPU at 1080p 60hz it'll be fine. At 4k 120hz even the fastest CPU on the market won't keep up. And then there's 8k.

they're likely doing it for things like animations and very high quality font renderin

Since they're using native render functions this probably isn't the case.

I’m almost nerd-sniped enough to try and see exactly where it breaks down.

What’s a native render function? Do you mean just using a graphics API as opposed to an off-the-shelf UI library?

What’s a native render function?

As in using DirectWrite or GDI on Windows; or Core Text on macOS. As opposed to shipping your own glyph rasterizer.

Doesn't the blog post specifically say they are shipping their own glyph rasterizer?

No?

To work around this limitation, we decided to stop using Direct2D and switch to rasterizing glyphs using DirectWrite instead.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.