RediWM - A 300k-line Zig desktop environment with its own compositor and GUI toolkit, native apps A developer released RediWM, a desktop environment written in 300,531 lines of Zig with its own compositor and GUI toolkit, alongside 21,001 lines of C and 63,482 lines of Python for a total of 385,014 lines. RediWM ships built-in apps including an image/PDF viewer, text editor, dock and a lightweight terminal built on libvterm. The developer reported that after adding IPC infrastructure with over 100 commands for testing, inspection and validation, Codex began using it to time, debug, interact and take screenshots on its own without being prompted; the project was built with Codex, Claude Code, Grok and other AI tools. Breakdown including comments : | Language | Raw lines | |---|---| | Zig | 300,531 | | C | 21,001 | | Python | 63,482 | | Total | 385,014 | Built-in Apps: as well as Image / PDF viewer , Text editor , Dock and now a light weight terminal libvterm Interesting things learned: when I added IPC infrastructure to test, inspect and validate over 100 commands , codex started using it to time and debug , interact and take screenshot all by itself without even mentioning it, that was pretty cool and handy AI used: codex, claude code, grok build and some others