# BS: Fast Debug-mode compiler for Zig 0.17 and 0.16

> Source: <https://ziggit.dev/t/bs-fast-debug-mode-compiler-for-zig-0-17-and-0-16/18576#post_1>
> Published: 2026-11-24 15:21:05+00:00

**Key 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.

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.

What 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.

I have a slow laptop, and Zig compile times really bother me, to the point that I’m considering using this for my debug builds.

What do you guys think? I don’t want to use AI slop, but the results speak for themselves.

Zig 0.17 and 0.16.

It’s not my project, but it’s clearly ai coded to the max.
