GPT-3 can generate a React app from natural language description
twitter.com
twitter.com
But really, this is super impressive for ML. It's not software development, though. It's analyzing a corpus and performing a search.
The nasty bit is that if that is all it takes to do most software dev jobs, and hey, we might find that most software dev really is just pattern matching and regurgitating those patterns—as the project gets more complex, the specifications will have to be more complex and we'll end up mostly back where we started.
In most cases, if you can define the tests, you have already figured out 80% of the solution.
Edit: apparently it read a lot of Github repositories, so most of what it mimics is working code.
I can't fathom the mindset that dismisses this as a gimmick. Is the first step on every journey meaningless? And this isn't even the first step-- this is miles in!
Searching and copy-pasting isn't the hard part of software development. Guaranteeing validity, safety and performance is the hard part.
This doesn't get us any closer to the goal. (In fact it's the opposite, a big step back.)
Generating code with guaranteed validity, safety, and performance are worthy goals, but how can you work on them without having an AI that can generate any code in the first place?
I'm just endlessly confused by this mindset. If you wanted a palace and someone built you the foundation, would you deride it as being nothing like a palace and in fact a step AWAY from a palace?
Depends on whether it's actually possible to build a palace on top of the foundation. If I know the foundation is going to crumble under the extra weight of the walls, then yes, it's a step backwards.
This is a fantastic achievement, and I think people who are saying it's nothing new are kind of being obstinate. But there is real debate over whether GPT is a foundation we can build on.
It's not as simple as just saying, "generate the code, and then we'll come up with ways to make sure the code is correct." Fundamentally, that might require us to generate the code differently than GPT does. GPT's foundation might crumble under the weight when we try to put walls on top of it.
This is particularly worrisome with GPT because it's still a very active area of research, so we don't know for sure that GPT's weaknesses aren't intrinsic to its design. We could end up devoting a ton of time to pushing GPT to its limits only to find out that the entire process has to be scrapped and that we'll need to start over from the beginning.
I think people have a tendency to see something new and either only see the capabilities or only see the weaknesses. There's been some really startlingly impressive things coming out of GPT-3, in particular the 'infinite' text adventure someone posted a while ago. But all of those projects have also had substantial weaknesses, and the weaknesses are forming a pattern across all of the projects. There are certain tendencies that GPT seems to universally have around recycling content, going off on weird asides -- stuff that should have proponents at least slightly worried, even while they rightly praise its advances.
This is perfectly fine. In fact it's the only way forward currently. Unless you have some alternative which is more promising? GPT models are like large convolutional networks in 2012 - they were so much better than all existing CV approaches at the time that it didn't make any sense to keep working on those other approaches.
Think of this as a new IDE. Not an end to end CI/CD.
Non-coders can compose React components, vet them, commit to artifact repo for further use/analysis.
Oh yes sure more abstraction is needed “down below” and testing.
Also has much of anything gotten closer to safety? Have you proved much of the code you import as deps is safe all the way down?
And yet... still works.
The clean room, perfect implementation you’re chasing can never exist. Much of this is up to imagination more so than provably correct math.
GPT3 incorporated into IDEs can provide a productivity boost. Imagine this coupled with a testing framework. I would not trust a GPT3 produced code base, after it does not "understand" what it is doing but if it passes all tests, I might be able to. Would you?