That does not really work, in many cases, because Zig doesn't have native libraries. Or rather, native Zig libraries are pure source code, compiled together with the app. And if you use C libraries, you end missing many Zig features. That is even more problematic if you depend on comptime parameters a lot.
> Bun’s codebase is massive. It is currently at ~850k lines of Zig code.
I’m an ignorant in zig, but wouldn’t breaking the code up in libraries help?
That does not really work, in many cases, because Zig doesn't have native libraries. Or rather, native Zig libraries are pure source code, compiled together with the app. And if you use C libraries, you end missing many Zig features. That is even more problematic if you depend on comptime parameters a lot.