News for hackers. Stuff that matters.
Re:Zig in 30 Minutes by jorangreef on Sunday January 03, 2021 @05:40AM (#25620973)
TigerBeetle (an accounting database for a high throughput payments switch): https://github.com/coilhq/tigerbeetle

We're serious in the sense of very much alpha, and with a long way to go, hopefully intersecting with Zig's stability program in the next year or so, but we have some demos and benchmarks in there of using Zig for io_uring. Zig's std lib already has io_uring helpers based on liburing's design, which we contributed.

We would have gone with C for its ABI, OOM-safety and control over memory layout, but considered Zig ready enough given our own medium term timeline, and the developer velocity and safety is already paying off. We also wanted a fantastic compiler, which Zig already provides. I personally wouldn't go back to C for a new project like this.

There are no comments on this comment yet.