# Zig libc rewrite lead to 12000x slowdown in SQLite

**URL:** <https://ziggit.dev/t/zig-libc-rewrite-lead-to-12000x-slowdown-in-sqlite/18214>\
**Category:** Media\
**Created:** [November 4, 2026, 5:33pm UTC](https://ziggit.dev/t/zig-libc-rewrite-lead-to-12000x-slowdown-in-sqlite/18214 "2026-11-04T17:33:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaeru](https://ziggit.dev/user_avatar/ziggit.dev/kaeru/32/3335_2.png) [@Kaeru](https://ziggit.dev/u/Kaeru)\
**Post date:** [November 4, 2026, 5:33pm UTC](https://ziggit.dev/t/zig-libc-rewrite-lead-to-12000x-slowdown-in-sqlite/18214/1 "2026-11-04T17:33:01Z")

</div>

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

> **[Shlemiel the Painter Is Back: How Zig’s libc Rewrite Made SQLite 12,000×...](https://dennisforbes.ca/blog/microblog/2026/10/the_accidental_12000x_sqlite_slowdown/)**
>
> Patterns reappear. Rust, sqlite, and Zig

---

<div class="post-metadata">

**Author:** ![nonzeroq](https://ziggit.dev/user_avatar/ziggit.dev/nonzeroq/32/9106_2.png) [@nonzeroq](https://ziggit.dev/u/nonzeroq)\
**Post date:** [November 4, 2026, 5:50pm UTC](https://ziggit.dev/t/zig-libc-rewrite-lead-to-12000x-slowdown-in-sqlite/18214/2 "2026-11-04T17:50:50Z")

</div>

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

[https://codeberg.org/ziglang/zig/pulls/37417](https://codeberg.org/ziglang/zig/pulls/37417)

---

<div class="post-metadata">

**Author:** ![gert](https://ziggit.dev/user_avatar/ziggit.dev/gert/32/8060_2.png) [@gert](https://ziggit.dev/u/gert)\
**Post date:** [November 4, 2026, 5:58pm UTC](https://ziggit.dev/t/zig-libc-rewrite-lead-to-12000x-slowdown-in-sqlite/18214/3 "2026-11-04T17:58:14Z")

</div>

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

> **[How I cut GTA Online loading times by 70%](https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/)**
>
> GTA Online. Infamous for its slow loading times. Having picked up the game again to finish some of the newer heists I was shocked (/s) to discover that it still loads just as slow as the day it was re

It sure would be nice if we had slices in C
