I have been contracting with a new startup called Byterix Labs for almost the last 12 months working in the security and scam prevention space. After some discussion they have agreed to open source some of the Zig work that I have been doing.
The first of which is a small library I’ve called Conduit. If you’re working with potentially large streams of data, conduit.Object could be of use.
To paraphrase the docs:
[conduit.Object] automatically manages data storage, seamlessly transitioning between in-memory and file system storage based on size constraints. It’s designed for scenarios where you need to handle data of varying sizes without knowing the final size upfront.
On the “meta” side I was wondering if you could speak more to how you ended up using Zig in the first place here.
Did the company already have an existing codebase and you adapted, or did you “pitch” Zig?
If the latter, what was your pitch and why did they agree?
As much as I’m enjoying Zig very much currently, I find it very surprising any time I see a company using it currently.
I suppose I am a more exciting engineer than I would be a tech lead
No problem! Zig needs contributions like these to succeed. Companies open sourcing their code, I mean. I’m not claiming the code is high quality, though I do strive for that.
One of my friends is a founder and Zig enthusiast. I think being a startup, being able to consume the plethora of C libs out there with Zig is a big productivity boost for the kind of work we’re doing.