{"slug": "bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16", "title": "BS: Fast Debug-mode compiler for Zig 0.17 and 0.16", "summary": "A forum post highlights bs, a custom Zig compiler built for debug builds that supports Zig 0.17 and 0.16 and is used by the monstar terminal emulator, which relies on libghostty as its backend. The poster, who says the compiler appears heavily AI-generated, reports that bs compiled debug builds much faster than the official Zig compiler on a slow laptop and is considering adopting it for debug builds despite misgivings about using AI-generated code.", "body_md": "While I was browsing a Zig codebase to see how to use `libghostty`, I found this project, [monstar](https://github.com/rockorager/monstar) a terminal emulator that uses `libghostty` as its backend.\n\nWhat surprised me was that they use a custom Zig compiler made for debug builds, [bs](https://github.com/baskingspot/bs). To be completely honest, this whole compiler looks vibe-coded. However, when I tried it, it was honestly so fast, much faster than a reguler debug build with the official compiler.\n\nI have a slow laptop, and Zig compile times really bother me, to the point that I’m considering using this for my debug builds.\n\nWhat do you guys think? I don’t want to use AI slop, but the results speak for themselves.\n\nZig 0.17 and 0.16.\n\nIt’s not my project, but it’s clearly ai coded to the max.", "url": "https://wpnews.pro/news/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16", "canonical_source": "https://ziggit.dev/t/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16/18576#post_1", "published_at": "2026-11-24 15:21:05+00:00", "updated_at": "2026-11-24 15:45:04.800583+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["bs", "Zig", "monstar", "libghostty", "rockorager", "baskingspot"], "also_reported_by": [], "takeaway": "bs is a drop-in debug-build compiler for Zig 0.17 and 0.16 that the poster measured as much faster than the official compiler's debug builds, though it appears heavily AI-generated.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16", "markdown": "https://wpnews.pro/news/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16.md", "text": "https://wpnews.pro/news/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16.txt", "jsonld": "https://wpnews.pro/news/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16.jsonld"}}