HN.zip

Show HN: A 300k-line Zig desktop environment with its own compositor,GUI toolkit

the breakdown: - 300k lines of Zig — core desktop and applications. - 21k lines of C — supporting implementation. - 61k lines of Python — test infrastructure.rediwm.redios.org if you want a visual tour.Thanks!

52 points by - 15 comments

15 Comments

[3 hidden]5 mins ago
What's your estimate of equivalent LOC if it were human coded? 30k? 10k?
[3 hidden]5 mins ago
(src/calculator/app.zig fn clicked is the kind of thing I have in mind... clearly it's an insane implementation, but as a non-zig-fluent developer it's not clear to me if this should be 2 lines, or if like in most other languages it shouldn't exist at all because the insanity is the definition of labels as an implicitly-indexed array rather than as a map.)
[3 hidden]5 mins ago
Feels a little strange to advertise here by the amount of lines of code it has in various languages?
[3 hidden]5 mins ago
What's the library used for font rendering? Looks slightly broken in the screenshots, like antialiasing isn't working properly. Maybe the alpha is being blended with the wrong gamma?
[3 hidden]5 mins ago
Font rendering uses FreeType, HarfBuzz for text shaping, Cairo for drawing the rendered text. The font looks sharp it's just screenshots look overly compressed.
[3 hidden]5 mins ago
Looks very nice. I'm beyond happy with Plasma but I will definitely fire up a VM and try this out
[3 hidden]5 mins ago
thanks mate, you can run it nested as well on your Wayland session
[3 hidden]5 mins ago
Looks great, and if it were a little tool like a differ, I'd be enthusiastic about trying it. But this is a windows manager, it's much more vital "I have to live with it", and for this I would prefer a horde of people have worked on it rather than Claude spewing it in 2 months. But the video demo, the website, the wiki, impressive work for mostly 1 person to have delivered.
[3 hidden]5 mins ago
I'm getting tired of this AI slop "look what I didn't write!"
[3 hidden]5 mins ago
And the OP is just reposting this every month.
[3 hidden]5 mins ago
Snappy. Somehow reminds me of e16
[3 hidden]5 mins ago
haha yeah thanks, get that a lot!
[3 hidden]5 mins ago
Does it support Vulkan?
[3 hidden]5 mins ago
yep, with HDR
[3 hidden]5 mins ago
vibe coded in a month?