by znnajdla · 3mo ago · 0 comments
Neither 1 nor 2 can be done by someone who doesn't even know what Bun, Zig, or Rust is, let alone deeply understand how those work. In fact, even I as a programmer with decades of experience in PHP/Python/JS but without specific experience in Zig and Rust probably couldn't do a proper rewrite for a project the size of Bun.
I also tried to vibe code a machine learning thing and it got to a level where I was lost and I tried to move ahead without understanding the problem and let the agent figure it out. And despite using Fable it was a mess and I realized that I had to teach my self more before I can continue. Even worse it felt like it was working for a bit until It become clear it was trash. I would Imagine that kind of experience would annoy a lot of non-developers and they would not want to try again.
It feels like this narrative of programming and computer sciences skills being irrelevant is pushed by many groups (not just AI companies) who want to reduce the value of human skill and talent both financially and socially. It's quite insidious when you think about it, A gleeful sort of tone is detectable where the person is happy that nothing require mental effort or skill. Not that this is that article and that it seems to be saying that AI has changed everything (which I agree some what though I think people will still write some code by hand, Their are still things I code entirely by hand usually certain scripts or things I really need to understand and my intuition of them is important)
AI deeply understands what Bun, Zig and Rust are, how they work, can conceive of the before and after architecture (probably the hard step here), can conceive of the goal of the rewrite, and can verify (using Lean and machine-checked proofs of the before and after expected states) the final result.
They just needed us to ask. Build a sufficiently general research program that can find and iterate on ideas, and it will do the asking itself.
And rewriting is just an example. There are tons of architectural decisions that need to be made every day in the building of advanced software. This is no "correct" way to do it that the AI can know in advance, it's a technical decision to be made by an engineer.
On formal verification having done it only in an academic sense and looked over at projects like seL4 and quite interested in that project. It feels like actually proving useful properties of programs for real programs even ones with well defined domains and easier to model such as interpreters or compilers it seems that it will just prove theorems about properties that hardly matter or don't even matter at all. See how bad it still tends to be when trying to get it to write tests.
I would be interested to know if their has been an agent that has actually utilized formal methods such as Lean or Coq or Isabella to prove properties of programs in an automated way as you suggest, I have only seen it proving mathematics and or searching for counter examples, not writing Curry-Howard style proofs.
I do think the current state of the AI just using rigorous tests and rendering inspection loops is still far more than most programmers did for the majority of apps, but yes I think rigorous formal verification will come too. Worst case it's gonna be something like a MechanicalTurk pipeline having us humans verify narrowed scopes the AI can't confidently inspect (yet. while also training on those results for next iteration)
As for the decision stack of what makes a good end product - turtles all the way up/down. The ProductOwnerAI role decides those things, and it will likely do so with the same deep skill that programming AIs are currently hitting our profession with. Optimizing enormous breadths of concerns and simulating results is AI's main specialty.
More precisely, a "perfect solution" doesn't exist. It's all tradeoffs given your goals. Someone needs to make the decision: 1. which tradeoffs are worth given your goals 2. which goals are worth defining or redefining. And do that effectively, you need to understand the problem, which goes back to engineering.
We'd guess that LLMs probably make them cheaper, but there's no real world data on this.
When OpenAI released ChatGPT 3.5 in late 2022 as free a research preview as the SOTA at the time, the model wasn't good and with a ton of hallucinations. There was no harness, context windows was small and token speed is slow. Plenty of folks said what a joke, no one can do serious work with it.
4 year later now looking back, can you imagine what AI capabilities are now? Can you imagine what AI would be capable another 4 years from today?
Keep in mind, AI improvement is not stagnant as everyone is working on Recursive Self-Improvement and trillions of dollars pouring into it. If you are betting the future on the current understanding the AI capability, I bet you will lose.