That sounds absolutely horrifying. I never encountered one of those before thankfully.
That DLL hooks into SCADA and sometimes sends updates to a PLC controlling safety critical equipment. When does it send updates versus just query the controller? No one knows. The guy who wrote it died in an (unrelated) industrial accident involving a runaway forklift after leaving the company. Even so much as debugging it would require shutting down the entire factory and replacing all the crucibles afterwards ($$$).
Ask an LLM to reverse engineer it and explain it.
It's also astonishingly stupid. I don't want a one-off program for everything. I want a well-designed and battle-tested program that I can extend with AI, and that has a ton of people's AIs directed at it, constantly finding bugs, posting them on the bugtracker, and writing and debating pull requests.
I can't comprehend people who think that everything should be built over and over again, and that that will be safe, practical or cheap. It's like they're telling me that I should design a new language for each conversation that I have. Why would I?
The worst part is how far the capabilities of AI are from that dream anyway. They can't even write readable, intelligible code. They're being celebrated for being able to notice buffer overrun errors in code that people would also notice if anybody had ever really looked at some particular span of code in the last 10 years. It's finding errors in move fast and break things code and code that has been maintained by a weirdo professor in his spare time for free and half the economy somehow relies on. That's not magic, its a sign of how sloppy things got.
No, they won't. There's nothing wrong with a vibecoded one-off program, at least not that another vibecoded one-off program can't fix.
Source code is now object code, and vice versa. And AI-written code is more secure than human-written code, not less. Deal with it. We won't be going back.
There's legitimate concerns and emotions here. No reason to be a dick when discussing it.
Whenever I spot this shitty cop out here, it is always on a bad take. Never fails.