Live data from Hacker News

GPT-3 can generate a React app from natural language description

twitter.com

1–10 of 31 posts

Re: GPT-3 can generate a React app from natural language description

#5
post #2

Fun gimmick, but nothing more.

This comment seems short-sighted. Code that can generate a working set of interlinked page elements from natural English? How on earth is that a gimmick? This is incredible. This is the Pong to the Crysis of 25 years from now, when we can describe entire applications into existence.

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!

Re: GPT-3 can generate a React app from natural language description

#6

I don't really understand. How is GPT-3 able to do this? Understanding English is one thing, but how did it learn JavaScript, HTML, CSS, and the React framework?

Apparently it was trained over GitHub repositories.

https://youtu.be/fZSFNUT6iY8

Re: GPT-3 can generate a React app from natural language description

#9
post #2

Fun gimmick, but nothing more.

This comment seems short-sighted. Code that can generate a working set of interlinked page elements from natural English? How on earth is that a gimmick? This is incredible. This is the Pong to the Crysis of 25 years from now, when we can describe entire applications into existence. 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 fir…

Predicting the future of one technology from the development of another technology doesn’t make much sense imo. Where are our fusion reactors and flying cars ;-)?

Re: GPT-3 can generate a React app from natural language description

#10

I don't really understand. How is GPT-3 able to do this? Understanding English is one thing, but how did it learn JavaScript, HTML, CSS, and the React framework?

It doesn't understand English. It knows how to make up text that looks a lot like the text that it read. It read a lot of examples of code, so it know how to make up code that looks a lot like what it read. Some of this code works, since some of what it read works. But if it read too much non-working code from stack overflow questions, it might write code that doesn't work.

Edit: apparently it read a lot of Github repositories, so most of what it mimics is working code.

Post reply on HN