Frankensqlite a Rust reimplementation of SQLite with concurrent writers

3 months ago (frankensqlite.com)

> TCL test harness. C SQLite's test suite is driven by ~90,000+ lines of TCL scripts deeply intertwined with the C API. These cannot be meaningfully ported. Instead, FrankenSQLite uses native Rust #[test] modules, proptest for property-based testing, a conformance harness comparing SQL output against C SQLite golden files, and asupersync's lab reactor for deterministic concurrency tests.

If you're not running against the SQLite test suite, then you haven't written a viable SQLite replacement.

  • I thought I read somewhere that their full test suite is not publicly available?

    • The TH3 test suite is proprietary, but the TCL test suite that they refer to is public domain.

      I'm not sure where they get their 90k CLOC count though, that seems like it might be an LLM induced hallucination given the rest of the project. The public domain TCL test suite is ~27k CLOC, and the proprietary suite is 1055k CLOC.

  • This and this needs Jepsen testing.

    The value of SQLite is how robust it is and that’s because of the rigorous test suite.

  • Isn't that test suite private though?

    • The TH3 test suite is proprietary, but the TCL test suite that they refer to is public domain.

      I'm not sure where they get their 90k CLOC count though, that seems like it might be an LLM induced hallucination given the rest of the project. The public domain TCL test suite is ~27k CLOC, and the proprietary suite is 1055k CLOC.

      4 replies →

Whats the obsession with concurrent writes?

Single writer will outperform MVCC as long as you do dynamic batching (doesn't prevent logical transactions) and all you have to do is manage that writer at the application level.

Concurrent writers just thrash your CPU cache. The difference between L1 and L3 can be 100x. So your single writer on a single core can outperform 10-100s of cores. Especially when you start considering contention.

Here's sqlite doing 100k TPS and I'm not even messing with core affinity and it's going over FFi in a dynamic language.

https://andersmurphy.com/2025/12/02/100000-tps-over-a-billio...

It's worth scrolling down to the current implementation status part:

https://github.com/Dicklesworthstone/frankensqlite#current-i...

Although I will admit that even after reading it, I'm not exactly sure what the current implementation status is.

If this wasn't ambitious enough, the author is also porting glibc to rust. As I understand it, all of it is agentic coded using custom harnesses.

This kind of slop spewing into Github feels like the modern equivalent of toxic plumes coming from smoke stacks.

Utterly unmaintainable by any human, likely never to be completed or used, but now deposited into the atmosphere for future trained AI models and humans alike to stumble across and ingest, degrading the environment for everyone around it.

  • It's kinda like when the web first started taking off then there were WYSIWYGs. Everyone and their mom was creating static HTML websites.

    But nobody shows off static HTML sites on HN.

  • This is a really interesting potential problem. I wonder how providers are going to avoid training on slop?

There is a popular [excellent non vibe-coded] web server called FrankenPHP; A port of PHP to Go bundled with Caddy.

Are there any other FrankenProjects out there that have had any success?

Were we so impressed by the concept of the original Frankenstein?

Is this a Freudian slip, that we are expecting these AI projects to turn on their creators?

If you can't tell this is LLM slop then I don't really know what to tell you. What gave it away for me was the RaptorQ nonsense & conformance w/ standard sqlite file format. If you actually read the code you'll notice all sorts of half complete implementations of whatever is promised in the marketing materials: https://github.com/Taufiqkemall2/frankensqlite/blob/main/cra...

  • If you bothered to do any research at all you’d know the author as an extreme, frontier, avant-garde, eccentric LLM user and I say it as an LLM enthusiast.

    • Thanks. Next time I'll do more research on what counts for LLM code artwork before commenting on an incomplete implementation w/ all sorts of logically inconsistent requirements. All I can really do at this point is humbly ask for your & their avant-garde forgiveness b/c I won't make the same mistake again & that's a real promise you can take to the crypto bank.

      2 replies →

Love the "race" demo on the site, but very curious about how you approached building this. Appreciated the markdown docs for the insight on the prompt, spec, etc

Says on top it's called monster but then it speaks of frankensql. Confusing website imho for a nice project

I was looking at this repo the other day. Time travel queries look really useful.

Impressive piece of work from the AIs here.

Is the implementation untouched by generative AI? Seems a bit ignorant/dishonest to claim “clean-room” in such a case

  • AGENTS.md and COMPREHENSIVE_SPEC_FOR_FRANKENSQLITE_V1_CODEX.md in the root folder, and ugly AI slop image on the home page and README.

    A better question is if the implementation was touched by anything other than generative AI.

Even though it looks like LLM slop, we are starting to see big projects being translated/refactored with LLMs. It reminds me of the 2023 AI video era. If the pattern follows, we will start to see way fewer errors until it is economically viable.

didn't notice at first, but my CPU fan went silent the moment I closed this slop website

i reimplemented my Grandma in Rust. She was a real Safety and Security hazard to herself and her surounding. She forgot things and made unsound memory assumtion. Took me about 3 Days vibe coding with Claude Code and was a real fun time. Now my grandma is leaking anything and has some new comandline switches. To be fair i know best how to implement Grandmas and everybody should use my Grandma from now on. If this breaks your scripts just adapt. Sure this was very cynical but im so tired reading every week some new pet project where rust is seen a mesiah. It is a new language, it helps getting memory right more easy. It is like the new visual basic.