News for hackers. Stuff that matters.
Re:Ladybird Is Now in Alpha by lxe on Monday November 23, 2026 @01:20PM (#50616509)
Oh man, I kind of feel like right now is the opportunity to rebuild those things from the ground up and sort of recreate the lineage of what worked and what didn't.
Re:Ladybird Is Now in Alpha by colechristensen on Monday November 23, 2026 @01:38PM (#50616792)
If you find yourself thinking any time is the right time to reimplement sqlite just because, you're extremely likely to be on the wrong course.
Re:Ladybird Is Now in Alpha by oblio on Monday November 23, 2026 @01:57PM (#50617135)
I'm not a Rust developer by any stretch of the imagination, but considering how extensive the SQLite test suite is, maybe a long term Rust port would be doable?

The biggest challenge by far is portability, SQLite, like NetBSD, runs on toasters.

Re:Ladybird Is Now in Alpha by squidmaster on Monday November 23, 2026 @02:07PM (#50617315)
A substantial portion of the SQLite test suite is proprietary, so unless Hipp blesses your port and gives you access to that, you'll be at a significant disadvantage.
Re:Ladybird Is Now in Alpha by oblio on Monday November 23, 2026 @02:09PM (#50617349)
Ah, I didn't know that.
Re:Ladybird Is Now in Alpha by simonw on Monday November 23, 2026 @05:48PM (#50620526)
"Substantial" isn't quite right - the vast majority of the SQLite test suite is public.
Re:Ladybird Is Now in Alpha by MobiusHorizons on Monday November 23, 2026 @02:08PM (#50617337)
I believe turso did build a sqlite clone in rust that they call libSQL. I think the test suite is proprietary, though, so I'm not sure if they were able to use that.
Re:Ladybird Is Now in Alpha by simonw on Monday November 23, 2026 @05:47PM (#50620518)
Most of the SQLite test suite is public. There's a small additional private test suite that's mainly useful for people porting it to novel hardware.
Re:Ladybird Is Now in Alpha by MobiusHorizons on Monday November 23, 2026 @05:58PM (#50620656)
Ah, thanks for the clarification.
Re:Ladybird Is Now in Alpha by greazy on Monday November 23, 2026 @02:17PM (#50617492)
Honest question, why? Is SQLite not performant or lacking in some fashion?
Re:Ladybird Is Now in Alpha by samtheprogram on Monday November 23, 2026 @02:22PM (#50617578)
[delayed]
Re:Ladybird Is Now in Alpha by rstat1 on Monday November 23, 2026 @04:44PM (#50619807)
by people who have put incredible amounts of effort into its safety and correctness, so I don't really think it matters if its written in C.
Re:Ladybird Is Now in Alpha by samtheprogram on Monday November 23, 2026 @05:08PM (#50620097)
[delayed]
Re:Ladybird Is Now in Alpha by colechristensen on Monday November 23, 2026 @06:15PM (#50620876)
eh but I think at this point we can all assume when somebody says they want to reimplement something in rust they mean vague security things, asking why is really asking for anything more specific than that
Re:Ladybird Is Now in Alpha by dbgobrrr on Monday November 23, 2026 @06:29PM (#50621035)
There is some merit for the memory safety angle here, so I can see why someone would be interested in doing that.

A look at the CVE list reveals that there were some CVEs with read freed memory or array overflows. That said the amount of CVEs is comparatively tiny to other software, so as you said, it really shows that they put incredible amounts of efforts into safety and correctness. Still, there would probably still be some value to it, even if very minimal (is it worth it though?)

https://sqlite.org/cves.html

Re:Ladybird Is Now in Alpha by jp_sc on Monday November 23, 2026 @05:58PM (#50620649)
Because Rust is a cult first and a programming language second. Everything not written in Rust is “impure”
Re:Ladybird Is Now in Alpha by Cyph0n on Monday November 23, 2026 @03:24PM (#50618709)
The “juicy” test suite is private. I think they may have had some foresight here, because my view is that this model will only get more popular going forward given how cheap it is clone/steal projects.
Re:Ladybird Is Now in Alpha by zaphirplane on Monday November 23, 2026 @04:51PM (#50619893)
[delayed]
Re:Ladybird Is Now in Alpha by Cyph0n on Monday November 23, 2026 @05:15PM (#50620181)
As far as I know, Bun had a rigorous E2E test suite (i.e. language agnostic) that the LLM could evaluate its progress against.

My impression is that compilers are probably among the easiest software to port because they rely heavily on E2E tests, have large test suites, and have inputs that are relatively well specified.

Re:Ladybird Is Now in Alpha by Buttons840 on Monday November 23, 2026 @05:06PM (#50620076)
More and more the team behind the software is a source of value. Anyone who can write a few paragraphs can produce software that looks good from the outside, but do you trust the team behind it?

Keeping an extensive suite of tests private is just an artificial way to boost the trust in the team. It's an interesting way for open-source developers to have their cake and eat it too.

Re:Ladybird Is Now in Alpha by Cyph0n on Monday November 23, 2026 @05:18PM (#50620207)
You see artificial; I see tangible :)

I think it is either going to be this or open core for OSS going forward.

Re:Ladybird Is Now in Alpha by colechristensen on Monday November 23, 2026 @06:18PM (#50620909)
also there's a sense of... some of the feeling of double-blind science or something difficult to express along those lines when you have a separate test suite which is private to verify the first to avoid some kind of "overfitting" which is even more helpful in the LLM days
Re:Ladybird Is Now in Alpha by notatoad on Monday November 23, 2026 @05:13PM (#50620145)
whether or not now is the right time to be doing something like that, doing it as a blocker to anything else is probably not the right way/.