Static analyzers
Static analyzers
Posted Oct 9, 2026 20:30 UTC (Fri) by mvollrath (subscriber, #183387)In reply to: Static analyzers by marcH
Parent article: Coping with the onslaught of kernel security bugs
> Maybe this is fine. Maybe one size does not fit all and maybe we need different "classes" of code for different use cases, including code that no human understands and that is purely maintained by machines. And entirely discarded and replaced once it's grown too complex - just like before LLMs but for a smaller write-off cost.
My experience has been that SotA LLMs are now very good at making bespoke tools and applications, especially when they're solving a well-understood and well-specified problem.
Why use any existing MQTT broker software when you can have it make, in a weekend or two, a feature complete broker in Rust with complete test coverage, mutations, fuzzing, seccomp, landlock, apparmor, io_uring with op restrictions, the works? And optimized for your use case down to the data structures? And it has 4x the throughput of any other broker? It's an implementation of an open spec, there's nothing particularly interesting to copy from existing implementations. You'd be copying their bugs and "good enough" implementation choices. I've yet to find a free one that doesn't have holes in its spec compliance.
It seems to me like humans are pretty good at deciding what software needs to do, but not great at the making of the software. We fix the bugs that bother us the most and don't bother fixing the rest. We write tests to catch regressions and automate checking the happy path, not to make more work for ourselves, or we don't write tests at all. We only optimize away the biggest hangups and leave so much performance on the table. Writing and analyzing machine code is the realm of experts, and only applied in times of need. We don't gather encyclopedic knowledge of every algorithm and data structure ever invented. Everything hinges on our time being valuable.
Now we have tools that multiply our time, and in my experience, also multiply learning rate. As of September, it's gotten to the point where I'd be kind of pissed if it went away. I'm still banking on human knowledge being valuable, but the act of typing code into an editor has never been the interesting part of the craft. The best programming language is one you read and write natively.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
