Transcript

Transcript of YouTube Video: With AI, Anyone Can Be a Coder Now | Thomas Dohmke | TED

Transcript of YouTube Video: With AI, Anyone Can Be a Coder Now | Thomas Dohmke | TED

The following is a summary and article by AI based on a transcript of the video "With AI, Anyone Can Be a Coder Now | Thomas Dohmke | TED". Due to the limitations of AI, please be careful to distinguish the correctness of the content.

Article By AIVideo Transcript
00:04

You know, I'm one of these adults

00:06

that actually still loves playing with LEGO.

00:09

I loved them way back in the '80s in Berlin when I grew up,

00:13

and I still love them.

00:14

And these days, I build LEGO with my kids on Saturday afternoons.

00:19

And the reason that my love for LEGO

00:21

has remained evergreen is, quite simply,

00:23

that LEGO is a system for realizing creativity

00:27

with almost no barrier to entry.

00:30

And I’m not only a LEGO dad,

00:31

I'm also the CEO of GitHub.

00:33

And if you don't know GitHub,

00:35

you can think of it as the home of coding.

00:37

It's where all the software developers,

00:40

the chief nerds of our society,

00:43

collaborate together.

00:45

And it's part of our mission to make it as easy as possible

00:48

for every developer to build small and big ideas with code.

00:54

But in contrast to LEGO,

00:55

the process of building software feels daunting to most people.

01:01

This all started to change

01:03

when ChatGPT came along in late 2022.

01:06

Now we live in a world where intelligent machines understand us

01:10

as much as we understand them.

01:13

All because of language.

01:15

And this will forever change the way we create software.

01:20

Up until now, in order to create software,

01:23

you had to be a professional software developer.

01:25

You had to understand, speak and interpret the highly complex,

01:31

sometimes nonsensical language of a machine that we call code.

01:35

Modern code still looks like hieroglyphics to most people.

01:39

Here's an example.

01:41

This, from the early 1940s,

01:43

is the world's first computer programming language,

01:46

called Plankalkül.

01:48

It set the foundation for the modern code that we use today.

01:50

And as you can see, it's a few numbers,

01:53

some bubbles and some big-ass brackets.

01:57

Not much humanity here, right?

01:59

Flash forward about 20 years

02:01

to the programming language called COBOL.

02:04

COBOL was invented during the Eisenhower years,

02:07

but it remains an important language

02:09

for many of our largest financial institutions.

02:12

Wall Street, your savings account, your credit cards,

02:16

all run on this today.

02:18

And we see some familiar words here.

02:21

But structurally, I think this doesn't make much sense to most of you.

02:24

Flash forward another 30 years to 1991,

02:27

and we saw the birth of Python,

02:29

one of the most popular programming languages in this era of AI.

02:34

In 80 years, we went from bubbles to brackets,

02:38

to blips of English,

02:39

and yet, we got nowhere near as close as the intuitiveness of human language.

02:46

But then came June 2020,

02:48

and we got early access to OpenAI's large language model,

02:52

then called GPT-3.

02:54

It was COVID, we were all on lockdown,

02:56

I remember we were on a video call together.

02:58

We fed random programming exercises into this raw model,

03:03

and like magic,

03:04

it solved 93 percent of them during the first few takes.

03:09

We at GitHub recognized we had something remarkable in our hands,

03:12

and we quickly turned around a novel developer tool

03:16

called GitHub Copilot:

03:17

an AI assistant that predicts and completes code

03:20

for software developers.

03:22

Copilot is now the most adopted AI developer tool on the planet.

03:28

The age of programming has been reborn.

03:31

But the possibilities of the breakthrough

03:33

went further than just these business results.

03:36

Because the large language models that power ChatGPT and Copilot

03:42

are trained on a vast library of human information,

03:45

they understand and interpret nearly every human language,

03:49

every major human language.

03:52

They seem to get us.

03:54

We have struck a new fusion

03:56

between the language of a human and a machine.

04:00

With Copilot, any person can now build software in any human language

04:07

with a single written prompt.

04:10

Goodbye to the bubbles and the big-ass bracket.

04:15

This is the most profound breakthrough to technology

04:20

since the genesis of software development itself.

04:23

Today, there are over 100 million developers on GitHub.

04:27

That's about one percent of the world's population,

04:30

you know, plus-minus.

04:31

I think that number is about to explode.

04:34

And I want to show you why, here on my MacBook.

04:36

We started it all with the original Copilot or how we say the OG Copilot,

04:40

and it literally just predicted and completed code in the editor.

04:44

You can think of the editor as, you know, the Google Docs for developers.

04:48

And when you have a doc open, you know how it is, empty page,

04:52

what do I actually want to do?

04:53

And I mentioned LEGO.

04:55

So let’s build a 3D LEGO brick on a web page.

04:58

So what developers do, you know, they start typing.

05:00

And so I typed in the JavaScript file,

05:02

create a function to create a LEGO brick.

05:06

And you can see here this gray text, we call this ghost text.

05:09

This is coming from the large language model.

05:12

So now I can just press the tab key and press enter.

05:15

And I get another suggestion, you know, to create a LEGO tower.

05:18

Maybe we do that later.

05:19

Or I can just do: function draw LEGO brick.

05:23

And here again you see ghost text from Copilot right away available for me.

05:28

And if I like what I'm seeing here,

05:29

so I get into a mode of writing and understanding,

05:32

I can just accept this.

05:34

Developers love that, right?

05:35

Because instead of writing ten lines of code themselves

05:38

or copy and pasting them from the internet,

05:40

they get them right in their editor.

05:42

They can stay in the flow.

05:44

Now what the OG Copilot didn’t offer me is a way to interact with this.

05:47

I cannot ask questions,

05:49

I cannot, you know, instruct it to do different things.

05:52

Last year we launched a new feature, Copilot chat,

05:54

and you can think about it as ChatGPT in your editor.

05:58

So I can open this up here in the sidebar.

06:01

And now I can tell it to create a whole web page

06:04

with a 3D LEGO brick for me.

06:06

Now you know, similar to ChatGPT, it streams the response,

06:08

and it gives me not only some code

06:10

but it actually gives me an explanation.

06:12

You know, it starts writing code,

06:14

you can see the comments that explain what that code does.

06:16

It uses an open-source library called Three.js.

06:19

And so you can kind of see here the idea of this empowering developers

06:23

and people that want to learn development.

06:25

And it ends, you know, with another explanation.

06:28

Now I can go here, inspect that code,

06:30

and I can actually push that button to copy it into my file.

06:34

But I want to show you something else here.

06:36

And you might have already seen this little mic icon.

06:38

I can use that to speak to Copilot.

06:40

And I want to ask it, in German, what that code does

06:43

that is on the left side in the editor.

06:47

(Speaking German) Can you explain to me what that code does?

06:52

And now Copilot responds again,

06:54

but it responds in German to me, right?

06:56

So it says, if I loosely translate,

06:58

"Yes, of course, this JavaScript code defines a function

07:02

named ‘drawLEGOBrick.’”

07:03

So you get the idea here.

07:04

A six-year-old in Berlin, in Mumbai and Rio,

07:08

can now explore coding without their parents being around

07:11

or even having a technical background.

07:13

(Laughter)

07:14

I mean, you know.

07:15

(Applause)

07:19

Now what you also see is you still need to kind of figure out

07:21

how you put that all together, right?

07:23

There’s a lot of technical stuff here.

07:25

I have code. I have to iterate on my machine.

07:27

I have to figure out how to deploy this to the cloud

07:30

so I can share with my friends.

07:31

But here is my LEGO brick now.

07:33

This is what it looks like

07:34

if I've done all these steps as a developer,

07:36

you can see now it’s a nicely rotating brick.

07:39

I can actually use my mouse to turn it around.

07:41

These are the anti-studs here, the studs,

07:43

There's nice lighting effects.

07:44

I can even zoom into this and zoom out of this.

07:47

Now I don't want to do all this developer stuff anymore.

07:49

I just want to channel my creativity straight into reality.

07:53

And so for the first time ever on stage,

07:55

I'm going to show you a new product that we call Copilot Workspace

07:58

that does exactly that.

08:00

So here is my workspace.

08:01

And you can already see there's not an editor anymore.

08:04

I can just see a task, and I can enter a task.

08:07

And so now I have my LEGO brick,

08:08

I want to now expand the LEGO brick into a LEGO house.

08:12

Stack the bricks in the shape of a LEGO house.

08:14

And I can do that also in German and in other languages.

08:17

But for now, let's stick with English.

08:19

I can save my task.

08:21

And now what happens is that Copilot Workspace analyzes what I already have

08:25

and then describes what it proposes to me.

08:27

Basically, it reframes my ask into a plan or a specification.

08:31

And so you can see here, you know, it's all in natural language in our user.

08:35

Some file names, of course, but there is no code here.

08:37

It's all describing it in English.

08:39

I can actually go into this and edit it

08:41

and can make changes to this line,

08:42

or I can go down here and add another item

08:44

if I feel like the plan is not exactly what I want.

08:47

I can go a step further and generate a plan,

08:49

and now an agent runs through all my files I already have

08:53

and figures out how do I need to modify those files,

08:55

or, you know, do I need to add files to my repository

08:58

so you know it wants to add a “create<b>LEGO</b>House” function

09:01

and call the “createLEGOHouse” afterwards.

09:03

Looks good to me, so let's implement this.

09:06

And now Copilot uses my task, my specification,

09:09

my plan to write code for me.

09:10

You can see here two files are queued,

09:13

the public/legoBrick.js file

09:14

and boom, there's already my code written for me, right?

09:18

I didn't have to touch code,

09:19

I didn't have to even know what code is.

09:21

Now I see here now it imports some new line into my file

09:24

and has written, you know, lots of code here that does those changes.

09:27

So you want to see what that looks like, did we get a LEGO house?

09:31

So here's a button that lets me open a live preview,

09:34

so I can do this.

09:36

And now the bricks fall from the sky and I have a LEGO house.

09:39

And you know, this is not a picture, right --

09:42

(Applause)

09:43

Yes, thank you.

09:44

This is all live, this is the power of code,

09:46

this is the power of streaming my creativity into reality

09:50

with natural language.

09:51

Now one last thing.

09:52

Thank you, Copilot,

09:53

you have always to be nice to the AI.

09:55

(Laughter)

09:57

(Applause)

10:02

Now, what you just saw were three leaps in three years.

10:05

Three leaps that are more progress

10:07

to the accessibility of computer programming

10:10

than we have made in the last 100.

10:12

Remember how I said that one percent of the world's population is a developer?

10:17

Now you can see how this will change.

10:19

Copilot Workspace may still be a developer tool right now,

10:22

but soon enough these kind of developer tools will become mainstream.

10:26

Because, going forward, every person, no matter what language they speak,

10:31

will also have the power to speak machine.

10:33

Any human language is now the only skill

10:36

that you need to start computer programming.

10:39

This will lead to a globalized groundswell of software developers,

10:43

and it will reshape the geography of our global economy.

10:47

And because of this,

10:48

I think by 2030, maybe even sooner,

10:51

we will have more than one billion software developers on GitHub.

10:54

Think about that:

10:56

10 percent of the world’s population will not only control a computer

11:00

but will also be able to create software

11:04

just [as] if they were riding a bicycle.

11:06

This will generate a new renaissance of human creativity with software.

11:12

Now anyone here in this room could have a brilliant idea right now:

11:16

a website, an application,

11:18

a cool computer game, an amazing song,

11:21

maybe even a cure for something.

11:23

For example, last year, over a couple of weeks,

11:26

I built an app that tracks all the flights I've ever taken in my life.

11:31

Now I know what you're thinking.

11:32

What a freaking nerd, right?

11:35

And yeah, it's true, I love building stuff like this.

11:38

And with the help of AI,

11:40

now I can do this in English or in German

11:43

before I even finish a glass of wine.

11:46

And soon enough, this will be true for everyone here.

11:49

The floodgates of nerditude have swung wide open.

11:53

(Laughter)

11:54

(Applause)

11:57

Now this doesn’t mean

11:59

that everyone will become a professional software developer

12:02

or even that they should.

12:05

The profession of a professional software developer

12:08

is not going anywhere.

12:09

There will always be demand for those that design and maintain

12:13

the largest software systems in the world.

12:16

We are adding millions of lines of code every single day

12:19

to ever more complex systems,

12:21

and we are barely keeping up with maintaining the existing ones.

12:24

Like any infrastructure in this world out there,

12:27

we need real experts to preserve and renew it.

12:31

The point here is not a "will" or a "should."

12:35

It's that anyone can.

12:38

All because the most powerful system that we have,

12:42

any human language,

12:44

is now fused to the language of a machine.

12:47

And very soon,

12:49

building software will be just as simple and joyful

12:54

as stacking a LEGO.

12:56

(Speaking German) Thank you very much.

12:58

(Applause)

13:03

Bilawal Sidhu: Gosh, I've got to say, one billion developers

13:07

makes GitHub sound more like YouTube and TikTok than it is today.

13:11

Just super exciting.

13:12

Got to ask you one question,

13:13

perhaps the elephant in the room.

13:15

Amazing talk.

13:17

So you said the developer is still in charge.

13:20

You also said, "We've had three leaps in three years."

13:23

Fast forwarding a little bit,

13:25

do you think humans will still need to be in the loop,

13:27

or will these AI systems be able to autonomously build

13:31

and maintain software?

13:32

TD: You know, the way I always think and talk about it

13:35

is that we called it Copilot for a reason.

13:37

We need a pilot.

13:38

We need a pilot that is creative, that can decide what to do.

13:41

It’s kind of like a LEGO set.

13:43

You need to take this big problem and break it down into smaller problems,

13:47

into small building blocks.

13:48

And for that, you need a systems thinker.

13:50

You need a human that can figure out, am I building a point of sale system?

13:54

Am I building an iPhone app?

13:56

Am I building a cool computer game?

13:57

Am I building the next Facebook?

13:59

Those are very different systems.

14:01

Now these building blocks, they will grow in size.

14:03

Today it's, you know, a couple of lines of code,

14:06

maybe a whole file,

14:07

in the future, it might be a whole subsystem.

14:09

So I get more work taken off my shoulders.

14:12

But I'm still there, you know, covering the large system.

14:15

And as I mentioned, you know, we're still running COBOL systems from the '60s.

14:19

So we have lots of work to do.

14:20

BS: Absolutely.

14:21

So we will be in charge orchestrating these systems

14:24

at a higher level of abstraction.

14:26

Thomas Dohmke, everybody, thank you.

14:28

TD: Thank you so much.