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
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?)
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 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.
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 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."
Replies (3)
Replies (1)
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
Replies (1)
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.
Replies (3)
Replies (1)
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.)
Replies (1)
Continue this thread (1 replies) →
And just look what's been happening.
Replies (1)
Replies (1)