Hacker Newsnew | past | comments | ask | show | jobs | submit | lxe's commentslogin

Pipe dream... Core memory unlocked.

Always disappointed I couldn’t interact with the instruments.

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.

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.

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.


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.

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.


You see artificial; I see tangible :)

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


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

If bun can be ported by LLM with tokens to burn budget. I don’t see why reimplementing in whatever language and the test suite is not possible. Writing tests good and stupid is definitely a job LLM can smash out

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.


A person could get LLM to generate a lot of sql tests thou. Sql is been around for a while

I would highly recommend reading up on what the SQLite test suite actually covers. There is also this recent lecture by Richard Hipp (creator) that might give you a better idea: https://www.youtube.com/watch?v=V_qzqY1bb7I

If you enough token budget, you can an LLM to replicate the unit tests.

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.

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.

Ah, thanks for the clarification.

Honest question, why? Is SQLite not performant or lacking in some fashion?

Security, presumably. It’s written in C.

Red herring? Airbus uses SQLite inside the flight software for the A350 XWB family of aircraft. It has certified Aviation-Grade Testing (DO-178B/C). The proprietary TH3 test harness, which features roughly 600 times more test code than actual source code and achieves 100% Modified Condition/Decision Coverage (MC/DC) at the assembly level. It must some of the most scrutinised source code on the planet.

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.

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


Possibly controversial opinion: as the frontier of LLMs improves, things like memory safety can be a solved problem in any language capable of it.

The solution to sqlite memory safety isn't porting it to Rust. It's for someone to spend a hundred dollars a year auditing the C code for vulnerabilities with each new frontier model as they're made available.


It's certainly one way things could go. Personally, I hope not. Why check for memory safety with a non-sovereign, non-deterministic process once a year, when the compiler can do it deterministically on standard hardware every build?

> Personally, I hope not.

Personally I hope so. If software vulnerabilities become a disease that we cure, that is a good thing for everyone. (For me the LLM coding revolution hasn't really changed what I do, or how much I do. What's changed is the expectation of code quality and resilience has gone up a non-hyperbolical 10x.)


Sorry, I wasn't saying don't analyse software with LLMs. I was saying don't give up on memory-safe languages in the belief that LLMs will catch every memory safety bug.

I agree, I’m just saying that as a class of problem, it’s going to become less of an issue across every language. And memory safety is just one of many classes of bad code, perhaps in the future we will have languages that make other classes of problem impossible too. (For example, just spit-balling, but imagine a language where you have to contractually declare data safety rules and have those rules proven by the compiler… sounds annoying and onerous if a human is writing it. But humans won’t be writing it, and maybe it helps us audit it.)

If you're already doing all of that, why not port it to Rust? I think I know the actual reason: compiling Rust and embedding Rust code, outside of a Rust environment, is annoying.

I don't think using a statistical model to solve a very mechanical problem is the best use of resources.

The same is said about the Linux kernel and other projects.

And just look what's been happening.


I feel like most of the Linux vulnerabilities lately haven't been kernel level vulnerabilities but rather vulns at distro level or application level like openssh

I saw a video by a kernel developer on this subject recently (probably found it here on HN) which basically said, "Most of the 'vulnerabilities' found by AI were not real. Those that were real were mostly minor. In total, AI has helped find a few real problems, but the signal to noise is low, and the reports of large numbers of vulnerabilities found by AI are overhyped."

Not really my point I was making, I was just explaining why GP jumped to wanting to rewrite in Rust.

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

Because Rust is a cult first and a programming language second. Everything not written in Rust is “impure”

This is true, but it is a programming language and I don't know a better way to get memory safety, do you?

Turso Database has already written a rust version of SQLite that is used in production environments. https://github.com/tursodatabase/turso

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.

"Substantial" isn't quite right - the vast majority of the SQLite test suite is public.

Hmm, the wording on https://sqlite.org/testing.html#test_harnesses made it seem like the proprietary test suite was bigger; however, I've never glanced at the public (TCL) tests, and making it sound like their private tests are better no doubt helps ensure they get more contracts.

Simon I believe you’re mistake here. The public test suite is quite extensive, to the tune of hundreds of thousands of LoC. Word is that the private test suite is orders or magnitude larger than the public one.

For the record I have no problems with their business model, they have managed to fund development of a truly unique piece of OSS infrastructure and for this, I’m always thankful to them


We don't need to go by rumors, https://sqlite.org/testing.html#test_harnesses spells it out exactly:

The TCL tests are open source (public domain) - 1390 files, 23.2MB, 51,445 test cases.

The TH3 test harness is proprietary, written in C, 100% branch coverage. 76.9 MB or 1055.4 KSLOC of C code implementing 50,362 distinct test cases.

The SQL Logic Test is public, 7.2 million queries comprising 1.12GB of test data.

Dbsqlfuzz is proprietary, 336 seed files.

So yeah, "vast majority" isn't justified.


TH3 is closed source, and is about 50% of the test suite.

Ah, I didn't know that.

This is an unhealthy attitude towards learning.

It has nothing to do with learning. If you want to learn by rewriting SQLite, go for it. I might not want to use your library, but go ahead - it could be fun.

Same here - the Ladybird project isn’t about learning. Its goal is to render webpages. So, if you can leverage preexisting libraries for local database or image rendering, you do it.


sqlite is probably one of the best engineerd pieces of software on the planet and the most used database. if you want to learn more about how the sqlite team thinks about reliability i strongly recommend watching the following talk Richard Hipp gave recently https://www.youtube.com/watch?v=V_qzqY1bb7I

so i tend to agree, you rewrite sqlite you will end up with an inferior product


Normal human conversation routinely depends on leaving the obvious thing unsaid. I think we can afford people the courtesy of assuming the obvious exceptions to any broad statement.

Deeming something too obvious to say is wildly subjective, definitely much too subjective to consider any such act an assault on "normal human conversation". For example, I think the reply was appropriate, whereas you don't. Also, making points in a roundabout way - as you did with that comment and as I'm mimicking in mine - isn't clever. It's cognitive bloat. Saying "I think that's obvious" communicates the same information, but without the stench of snobbery or delusion of conveying some broader insight. Surely this terse alternative is more aligned with "normal human conversation", wouldn't you say?

>This is an unhealthy attitude towards learning.

This comment is responding to a situation that was out of context in a thread that wasn't at all about learning.

"too obvious to say" ... to the contrary I didn't imagine somebody's invented situation that didn't have anything to do with what was being discussed


The fuzzy social connotations framing them as normal and you as non-normative aren't cognitive bloat. They are part of what the author intended to convey, and normal human conversation includes lots of similar social signals. It does not generally proceed through the exchange of short, declarative statements.

You can totally reimplement sqlite. Sqlite is essentially a pile of reasonably implementable pieces. You can start with the journaled paged atomic file, and move on to a B+tree. Don't try to be compatible with the actual sqlite, make your own format with a similar purpose. You don't have to implement SQL to make it useful.

For bad or very niche software, I may agree, but you get the benefit of SQLite being one of, if not the most, popular library in the world. It's ironclad, well supported currently, and will continue to be well supported into the future.

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/.

Yeah, I guess I'm a little bit confused about how perplexity is defined and how it maps to the model intelligence as written in this article.

Something about it actually looks way too polished. I think it's the precision of the spacing, the padding and the margins that gives it away as being too deliberate.

That's what I came to say. The stylistic choices of LLMs might not be ideal, but it's the "brokenness" aspect of AI generated UIs that annoys me: single word buttons that are so narrow that the word is split across too lines, or text boxes with zero padding that slam text up against a border.

Repetitive "make it faster" prompting is essentially what all these "RSI" claims are

As an engineer, I felt ashamed reading that.

Common man, prompt at the level of someone with at least a little of background knowledge.


But it helps, it’s shorter and you don’t have to know what exactly is making that thing slowl (slow owl).

In my Hobby project (cv generator) I don’t like the ui to be unresponsive during pdf generation and generally I want to have a fast system. So I set my cpu under heavy load (or put it into power saving mode where the cpu is running at 0.9ghz) and tell opus to make it faster.

This went from 45s under very heavy load to 5 sek

(Heavy load: almost 100 cpu constantly and 90% ram filled up, additional power saving mode on)

Claude often told me the system is busy and „this,that“-chat. But I could resist stopping saying „make it faster, don’t stop any processes. It’s your new reality. We’re now sharing out cpu with the neighbor university. Live with it“

And yes. Heavy load. Python. Running blizzfast now. It were like 10 millions of testing and code and git commits tokens and 5h to 10h to get it there. Somewhat 500 tests written for the speed optimization. With background knowledge I still would not know where to optimize and would need to tell it exactly what to test and to compose tests for


Because it's written for marketing and engagement, not to actually teach anyone anything.


When it comes to difficult optimization/search problems, doing research in a single Claude/Codex thread is definitely a struggle. There are ways to bypass some of the pitfalls by creating a agentic swarm with hard guardrails such as context resets and changing the way the harness works with memory, etc.


So you're not wrong in most of these conclusions, however this is very surface level use case for these tools when it comes to scientific research.

> I would never trust an AI to make a scientific conclusion, but they're very good at some things

> In this case, usually it will screw up and overfit, but it's a good smoke test.

> it's being used for tedious things that provide some value

I see a lot of comments like this about AI use in general, and I suspect there’s a kind of learned helplessness combined with anchoring to earlier experiences. Someone tries a model, encounters a few failures, and forms a fairly permanent view of what these systems can do.

My concern is that people sometimes turn an expectation of failure into a permanent ceiling on how much they’ll even experiment with these tools. Their limited use then keeps confirming their limited expectations.

EDIT: This came off as criticizing the user, but this is entirely to validate my own thesis that for quite a long time nobody has been able to crack the usability challenge when it comes to non-coding knowledge work for these harnesses. It's fascinating because it seems like it's such an easy problem to solve, but in reality it's a complex product problem.


> this is very surface level use case for these tools

Correct. As of Q4 2026, in my experience they are only trustworthy for surface level use cases in the domain of computational chemistry / in-silico high throughout screening, unless you are working on a highly constrained, immediately verifiable and well-studied problem like protein docking or structure-property relations.

> anchoring to earlier experiences.

I have observed the models improving over time. I am basing my post on things at the level of Opus 5.5 / GPT-6.1 Sol / Fable 5.1

> Their limited use then keeps confirming their limited expectations.

Every time a new model comes out or a harness I use gets a new feature, I do try to push it until it breaks. A swarm of GPT Lunas at max context is highly effective at finding information or condensing highly disparate data sources; that wasn't even a thing a year ago in most harnesses.

But even the smartest models like Fable will get sidetracked, or make bad decisions because they do not have enough context of the problem domain. As of Q4 2026.

I'd put their autonomous intelligence in this particular domain at the level of a well-read first year grad student. Phenomenal at knowing things, but unable to question their own assumptions or invalidate their own work unless you hold their hand in the form of a prompt, skill, or direct instruction.


Thanks for the clarification, this is such a spot on response that actually mirrors my experience considerably.

> unless you hold their hand in the form of a prompt, skill, or direct instruction.

The hand-holding and inability to execute automated tasks is a very well known failure mode.

The requirement for me to prod, redirect and continuously steer is the number one pitfall when I did the Muse Open Kernel challenge using a long-horizon search/improvement swarm (or whatever the term is... just don't call it 'RSI').

Using plateau avoidance techniques such as https://arxiv.org/abs/2610.07447 and building harnesses around these is what helped me.


Very interesting article, I'm going to give it a read over lunch. Thanks!


Experimenting with these tools, checking their work and spending that time is not free of cost.


https://github.com/kohoj/codex-app-teardown they were using Pierre libs for a while, so only natural.


I think the effect of AI on education is transformative, not destructive, despite what the public vibe seems to be.

Google already provided us with all the answers and Google's AI section is not much different. It just gives you the result faster.


> Google already provided us with all the answers and Google's AI section is not much different.

Unless you simply mean “answers” as in a response to a query, then true.

Otherwise, provides search results, not “all the answers” to our questions.

Google’s AI overview speaks with an inappropriate amount of authority for an educational setting, particularly one involving children.

Skepticism and incredulity are more important than ever.


The AI response also doesn't really provide you effective answers unless you have a decent understanding and critical thinking capability.

Same holds true for when we were learning about how Google works. My generation had to learn about how to sift through the results in order to actually understand whether the information is accurate. Similarly, you still have to do this when you receive an AI response from Google.


Sort of. Maybe the answer is 100% accurate 85% of the time. So if you trust this one source, you will do pretty well most of the time. That seems completely different from having different sources each time and having to decide which are accurate.


> The AI response also doesn't really provide you effective answers unless you have a decent understanding and critical thinking capability.

Neither does any book used in schools. Neither does the teacher.


That’s my point. It presents something that has the shape of an answer, but quite often isn’t.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: