Zig libc rewrite lead to 12000x slowdown in SQLite

Was looking for a discussion on this article but hadn’t found one yet so creating one.

There’s a PR to solve some of these issues that was filed recently:

https://codeberg.org/ziglang/zig/pulls/37417

2 Likes

Reminds me of GTA 5’s infamous loading screen calling strlen over a 10MB dataset for every JSON value.

It sure would be nice if we had slices in C