The mind behind Linux | Linus Torvalds | TED

TED
3 May 201621:30

Summary

TLDRIn this TED Talk, Linus Torvalds, the creator of Linux, shares his journey from a solitary programmer to the head of a vast open-source community. He discusses the humble beginnings of Linux, which started as a personal project and grew into a global phenomenon without an initial vision for collaboration. Torvalds emphasizes the importance of simplicity, quiet focus, and the gradual evolution of the Linux community. He also introduces Git, another project born out of the need to manage large-scale software development efficiently. Torvalds downplays his role as a visionary, preferring to focus on solving immediate problems and celebrating the diverse contributions of the open-source community.

Takeaways

  • 🌐 Linus Torvalds created Linux, software that now powers a significant portion of the internet and is present in every Android device.
  • 🏠 Despite the global impact of his work, Torvalds works alone from a modest home office, emphasizing the importance of a calm and quiet environment for his programming.
  • 🐱 His preference for a peaceful workspace is so strong that he prioritizes the purring of his cat over the noise of computer fans.
  • 🀝 Torvalds did not initially intend for Linux to be a collaborative project, but the open-source community's contributions transformed it into a global phenomenon.
  • πŸ‘¨β€πŸ’» He values the feedback and ideas from others, even more than their code contributions, which he sees as a form of validation and improvement for his work.
  • πŸ”§ Torvalds developed Git, a version control system, to manage the massive scale of Linux's development with thousands of contributors.
  • πŸ‘“ He identifies as more of a practical engineer than a visionary, focusing on solving immediate problems rather than dreaming big.
  • 🀝 Open source allows people with different skills and interests to collaborate effectively, even if they don't necessarily get along personally.
  • πŸ’Ό Torvalds is comfortable with companies making profits from his open-source work, recognizing the trade-offs and benefits of the open-source model.
  • πŸ”‘ Good 'taste' in coding, for Torvalds, means having an instinct for the right way to structure and write code, which is more important than just technical skill.

Q & A

  • What was Chris Anderson's initial impression of Linus Torvalds' software headquarters?

    -Chris Anderson was shocked by the simplicity of Linus Torvalds' software headquarters, as he expected something more impressive given the widespread use of Linux in millions of computers and Android devices.

  • Why did Linus Torvalds stop using the walking desk in his office?

    -Linus Torvalds mentioned that the walking desk was the most interesting part of his office, but he stopped using it because he prefers to work in a quiet environment without external stimulation.

  • What does Linus Torvalds consider important in his work environment?

    -Linus Torvalds values a quiet and calm work environment. He prefers a computer that is completely silent and a color scheme on his walls that is non-stimulating, similar to what is used in mental institutions for its calming effect.

  • How does Linus Torvalds describe his initial approach to working on Linux?

    -Linus Torvalds started working on Linux alone, in his house, and often in his bathrobe. He did not initially start it as a collaborative project but rather as a personal project that he enjoyed working on.

  • What was Linus Torvalds' reaction to the idea of open source when he first encountered it?

    -Initially, Linus Torvalds was worried about commercial interests coming in and taking advantage of his work. However, he eventually decided to adopt the open-source methodology after considering it for a while.

  • How did Linus Torvalds' perspective on open source change over time?

    -Linus Torvalds' perspective on open source evolved from not being on his radar initially to becoming a crucial part of his work process. He found value in the feedback and ideas from others, which led him to embrace the open-source community.

  • What was the primary motivation behind Linus Torvalds creating Git?

    -Linus Torvalds created Git to manage the increasing scale of Linux development. As the number of contributors grew, he needed a system to efficiently handle the collaboration and code maintenance.

  • How does Linus Torvalds view his role in the open-source community?

    -Linus Torvalds sees himself as an engineer rather than a visionary. He focuses on solving immediate problems and improving the technology at hand, rather than having a grand vision for the future.

  • What does Linus Torvalds think about the commercial success of companies using his software?

    -Linus Torvalds is not upset about the commercial success of companies using his software. He believes that the open-source nature of Linux allowed it to become what it is today, and he is content with the choices he made.

  • How does Linus Torvalds define 'good taste' in coding?

    -Linus Torvalds defines 'good taste' in coding as the ability to see the big patterns and instinctively knowing the right way to do things. It involves simplifying code to eliminate special cases and making it more efficient and elegant.

  • What is Linus Torvalds' stance on the comparison between being a visionary like Tesla and a practical engineer like Edison?

    -Linus Torvalds identifies more with Edison than Tesla. He appreciates the practical, hard work and problem-solving approach that Edison represents, rather than the visionary and idea-driven approach of Tesla.

Outlines

00:00

🌟 The Humble Beginnings of Linux

Chris Anderson interviews Linus Torvalds, highlighting the surprising simplicity of the Linux headquarters, which contrasts with the global impact of the software. Torvalds discusses his preference for a quiet, non-distracting work environment and the importance of a silent computer. He clarifies that Linux was initially a personal project, not intended as a collaborative open-source endeavor. The conversation reveals Torvalds' initial reluctance and eventual embrace of the open-source community, which played a crucial role in Linux's development and success.

05:03

πŸ€– The Evolution of Open Source and Community

Linus Torvalds shares his experience with the open-source community, emphasizing the value of feedback and ideas from others, which was more significant to him than the code contributions. He admits to not being a 'people person' but appreciates the engagement and comments from others on his work. The discussion turns to the gradual growth of Linux's community, with Torvalds noting the transition from a personal project to a global phenomenon was not marked by any singular 'eureka' moment. The conversation also touches on Torvalds' second major project, Git, which was created to manage the large-scale collaboration on Linux.

10:05

🧠 The Traits Behind a Tech Titan

The conversation delves into Torvalds' personality traits, particularly his stubbornness, which he sees as essential in sticking to tasks rather than being easily distracted. He discusses his introverted nature and preference for focused work over social interaction. Torvalds also addresses the conflicts that arose from his direct communication style, acknowledging the hurt it may have caused while defending the importance of maintaining the quality of the Linux project. He stresses the diversity within the open-source community, allowing different types of people to contribute effectively.

15:05

πŸ› οΈ The Craftsmanship of Code

Torvalds discusses the concept of 'taste' in coding, using an example to illustrate the difference between a simplistic and a refined approach to solving a problem. He emphasizes the importance of recognizing and eliminating special cases to create cleaner, more efficient code. The summary also includes his self-assessment as more of an engineer than a visionary, preferring to focus on immediate, tangible improvements rather than grand, long-term visions. He identifies with the practicality of Edison over the visionary status of Tesla.

20:05

🌐 The Broader Impact and Future of Open Source

In the final part, Torvalds reflects on the success of open-source software, including Linux and its commercial exploitation, to which he shows no resentment. He believes in the open-source philosophy and its potential beyond coding, such as in science and politics. He acknowledges the challenges of applying open-source principles in areas where objectivity is less clear-cut. The interview concludes with a tribute to Torvalds for his contributions to technology and his candid self-disclosure during the TED talk.

Mindmap

Keywords

πŸ’‘Linux

Linux is an open-source operating system that was created by Linus Torvalds. It is widely used in various computing platforms, including servers, mainframes, and supercomputers. In the video, Torvalds discusses the humble beginnings of Linux, which started as a personal project and grew into a foundational component of the internet and Android devices, highlighting the power of open-source development.

πŸ’‘Open Source

Open source refers to a type of software whose source code is made available to the public, allowing anyone to view, use, modify, and distribute the software. The video emphasizes the significance of the open-source model in the development of Linux, where Torvalds initially made the source code available without expecting it to become a collaborative project, but it eventually led to a global community contributing to its success.

πŸ’‘Android Devices

Android is an operating system based on the Linux kernel, primarily used in mobile devices such as smartphones and tablets. The script mentions that Linux is present in every Android device, indicating the pervasive influence of Linux in the technology ecosystem and the reach of open-source software in consumer electronics.

πŸ’‘Empire

In the context of the video, 'empire' is used metaphorically to describe the vast and influential reach of Linux and Torvalds' work. It suggests that despite not having a traditional corporate headquarters, the impact of his creation is as significant as a large technological empire.

πŸ’‘Walking Desk

A walking desk is a type of workstation that allows users to walk or move while working, promoting physical activity during sedentary tasks. Torvalds mentions the walking desk in his office, symbolizing his preference for a minimalist and distraction-free work environment, which contrasts with the grandeur often associated with technology empires.

πŸ’‘Git

Git is a version control system used in software development to manage and keep track of code changes. It was created by Torvalds to handle the large-scale collaboration on the Linux kernel. The video discusses Git as a solution to the challenge of coordinating contributions from thousands of developers, showcasing Torvalds' practical approach to solving real-world problems in software development.

πŸ’‘Community

The Linux community refers to the group of individuals who contribute to the development and maintenance of the Linux operating system. The video highlights the importance of community in the success of Linux, evolving from a personal project to a collaborative effort involving thousands of people, underscoring the collective nature of open-source projects.

πŸ’‘Visionary

A visionary is someone who has the ability to anticipate future developments and inspire others with their innovative ideas. While the video's theme revolves around visionary thinking, Torvalds identifies himself more as an engineer focused on solving immediate problems rather than having grand visions for the future, emphasizing the practical and incremental nature of his work.

πŸ’‘Taste

In the context of the video, 'taste' refers to the ability to make aesthetic or quality judgments in coding, recognizing elegant and efficient solutions. Torvalds discusses 'good taste' in code as a desirable quality in developers, indicating that beyond technical skills, an intuitive sense for quality and elegance is important in software development.

πŸ’‘Stubbornness

Stubbornness, as mentioned in the video, is Torvalds' tendency to persist with his decisions and maintain his focus on specific goals, even in the face of opposition. It is portrayed as a key characteristic that has helped him maintain the quality and direction of Linux's development, despite conflicts with others.

πŸ’‘Silicon Valley

Silicon Valley is a region known for its high-tech innovation and venture capital, often associated with rapid job changes and a culture of constant innovation. Torvalds contrasts his long-term commitment to a single company in Silicon Valley with the more transient nature of the region's workforce, highlighting his unique approach to career and project development.

Highlights

Linux is widely used in millions of computers and powers much of the Internet.

Linux's creator, Linus Torvalds, works from a simple home office with a focus on minimal external stimulation.

Torvalds emphasizes the importance of a calm and quiet work environment for his productivity.

He initially developed Linux as a personal project without the intention of it becoming open source.

The open source community's feedback and contributions were crucial in the development of Linux.

Torvalds was introduced to open source licensing by a friend at the University of Helsinki.

He was initially concerned about commercial interests but decided to embrace open source.

The growth of Linux from a personal project to a global phenomenon was gradual for Torvalds.

Git, Torvalds' second major project, was created to manage the large-scale collaboration on Linux.

Torvalds values the ability to work alone and prefers deep focus over constant collaboration.

He identifies as more of an engineer than a visionary, focusing on solving immediate problems.

Torvalds discusses the importance of 'taste' in coding and the ability to simplify complex problems.

He compares himself to Edison rather than Tesla, valuing practicality and persistence over grand visions.

Torvalds is comfortable with companies making billions from his software due to the open source model.

He believes open source works well in coding because of its clear-cut nature, unlike other fields.

Torvalds sees potential for open source principles to expand beyond software into other areas like science.

Transcripts

play00:13

Chris Anderson: This is such a strange thing.

play00:15

Your software, Linux, is in millions of computers,

play00:18

it probably powers much of the Internet.

play00:22

And I think that there are, like,

play00:24

a billion and a half active Android devices out there.

play00:27

Your software is in every single one of them.

play00:30

It's kind of amazing.

play00:31

You must have some amazing software headquarters driving all this.

play00:37

That's what I thought -- and I was shocked when I saw a picture of it.

play00:40

I mean, this is --

play00:41

this is the Linux world headquarters.

play00:43

(Laughter)

play00:45

(Applause)

play00:49

Linus Torvalds: It really doesn't look like much.

play00:52

And I have to say,

play00:53

the most interesting part in this picture,

play00:57

that people mostly react to,

play00:59

is the walking desk.

play01:00

It is the most interesting part in my office

play01:03

and I'm not actually using it anymore.

play01:05

And I think the two things are related.

play01:09

The way I work is ...

play01:13

I want to not have external stimulation.

play01:18

You can kind of see, on the walls are this light green.

play01:23

I'm told that at mental institutions they use that on the walls.

play01:27

(Laughter)

play01:29

It's like a calming color,

play01:30

it's not something that really stimulates you.

play01:35

What you can't see is the computer here, you only see the screen,

play01:39

but the main thing I worry about in my computer is --

play01:42

it doesn't have to be big and powerful, although I like that --

play01:46

it really has to be completely silent.

play01:49

I know people who work for Google

play01:52

and they have their own small data center at home,

play01:55

and I don't do that.

play01:56

My office is the most boring office you'll ever see.

play02:00

And I sit there alone in the quiet.

play02:04

If the cat comes up,

play02:06

it sits in my lap.

play02:08

And I want to hear the cat purring,

play02:10

not the sound of the fans in the computer.

play02:13

CA: So this is astonishing,

play02:14

because working this way,

play02:17

you're able to run this vast technology empire --

play02:20

it is an empire --

play02:21

so that's an amazing testament to the power of open source.

play02:25

Tell us how you got to understand open source

play02:29

and how it lead to the development of Linux.

play02:33

LT: I mean, I still work alone.

play02:35

Really -- I work alone in my house,

play02:38

often in my bathrobe.

play02:40

When a photographer shows up, I dress up,

play02:42

so I have clothes on.

play02:43

(Laughter)

play02:45

And that's how I've always worked.

play02:47

I mean, this was how I started Linux, too.

play02:49

I did not start Linux as a collaborative project.

play02:53

I started it as one in a series of many projects

play02:57

I had done at the time for myself,

play03:01

partly because I needed the end result,

play03:03

but even more because I just enjoyed programming.

play03:06

So it was about the end of the journey,

play03:10

which, 25 years later, we still have not reached.

play03:13

But it was really about the fact that I was looking for a project on my own

play03:17

and there was no open source, really, on my radar at all.

play03:21

And what happened is ...

play03:24

the project grows and becomes something you want to show off to people.

play03:30

Really, this is more of a, "Wow, look at what I did!"

play03:34

And trust me -- it was not that great back then.

play03:38

I made it publicly available,

play03:40

and it wasn't even open source at that point.

play03:42

At that point it was source that was open, but there was no intention

play03:47

behind using the kind of open-source methodology that we think of today

play03:52

to improve it.

play03:53

It was more like,

play03:54

"Look, I've been working on this for half a year,

play03:58

I'd love to have comments."

play04:00

And other people approached me.

play04:03

At the University of Helsinki,

play04:04

I had a friend who was one of the open source --

play04:08

it was called mainly "free software" back then --

play04:12

and he actually introduced me to the notion that, hey,

play04:16

you can use these open-source licenses that had been around.

play04:24

And I thought about it for a while.

play04:26

I was actually worried about the whole commercial interests coming in.

play04:29

I mean, that's one of the worries I think most people who start out have,

play04:34

is that they worry about somebody taking advantage of their work, right?

play04:39

And I decided, "What the hell?"

play04:43

And --

play04:44

CA: And then at some point,

play04:46

someone contributed some code that you thought,

play04:48

"Wow, that really is interesting, I would not have thought of that.

play04:51

This could actually improve this."

play04:53

LT: It didn't even start by people contributing code,

play04:56

it was more that people started contributing ideas.

play04:59

And just the fact that somebody else takes a look at your project --

play05:03

and I'm sure it's true of other things, too,

play05:05

but it's definitely true in code --

play05:07

is that somebody else takes an interest in your code,

play05:10

looks at it enough to actually give you feedback

play05:13

and give you ideas.

play05:15

That was a huge thing for me.

play05:17

I was 21 at the time, so I was young,

play05:20

but I had already programmed for half my life, basically.

play05:24

And every project before that had been completely personal

play05:28

and it was a revelation when people just started commenting,

play05:31

started giving feedback on your code.

play05:34

And even before they started giving code back,

play05:38

that was, I think, one of the big moments where I said,

play05:41

"I love other people!"

play05:43

Don't get me wrong --

play05:44

I'm actually not a people person.

play05:46

(Laughter)

play05:49

I don't really love other people --

play05:52

(Laughter)

play05:53

But I love computers,

play05:54

I love interacting with other people on email,

play05:57

because it kind of gives you that buffer.

play06:00

But I do love other people who comment and get involved in my project.

play06:06

And it made it so much more.

play06:09

CA: So was there a moment when you saw what was being built

play06:12

and it suddenly started taking off,

play06:14

and you thought, "Wait a sec, this actually could be something huge,

play06:17

not just a personal project that I'm getting nice feedback on,

play06:20

but a kind of explosive development in the whole technology world"?

play06:25

LT: Not really.

play06:27

I mean, the big point for me, really, was not when it was becoming huge,

play06:30

it was when it was becoming little.

play06:33

The big point for me was not being alone

play06:37

and having 10, maybe 100 people being involved --

play06:40

that was a big point.

play06:42

Then everything else was very gradual.

play06:45

Going from 100 people to a million people is not a big deal -- to me.

play06:49

Well, I mean, maybe it is if you're --

play06:51

(Laughter)

play06:52

If you want to sell your result then it's a huge deal --

play06:55

don't get me wrong.

play06:56

But if you're interested in the technology

play06:58

and you're interested in the project,

play07:00

the big part was getting the community.

play07:02

Then the community grew gradually.

play07:04

And there's actually not a single point where I went like,

play07:08

"Wow, that just took off!" because it --

play07:10

I mean -- it took a long time, relatively.

play07:13

CA: So all the technologists that I talk to really credit you

play07:16

with massively changing their work.

play07:19

And it's not just Linux,

play07:21

it's this thing called Git,

play07:22

which is this management system for software development.

play07:26

Tell us briefly about that and your role in that.

play07:30

LT: So one of the issues we had,

play07:32

and this took a while to start to appear,

play07:35

is when you ...

play07:37

When you grow from having 10 people or 100 people working on a project

play07:43

to having 10,000 people, which --

play07:45

I mean, right now we're in the situation where just on the kernel,

play07:48

we have 1,000 people involved in every single release

play07:52

and that's every two months, roughly two or three months.

play07:56

Some of those people don't do a lot.

play07:58

There's a lot of people who make small, small changes.

play08:01

But to maintain this,

play08:03

the scale changes how you have to maintain it.

play08:06

And we went through a lot of pain.

play08:10

And there are whole projects that do only source-code maintenance.

play08:17

CVS is the one that used to be the most commonly used,

play08:20

and I hated CVS with a passion and refused to touch it

play08:24

and tried something else that was radical and interesting

play08:27

and everybody else hated.

play08:31

CA: (Laughs)

play08:32

LT: And we were in this bad spot,

play08:34

where we had thousands of people who wanted to participate,

play08:37

but in many ways, I was the kind of break point,

play08:42

where I could not scale to the point

play08:44

where I could work with thousands of people.

play08:47

So Git is my second big project,

play08:50

which was only created for me to maintain my first big project.

play08:55

And this is literally how I work.

play08:57

I don't code for --

play09:00

well, I do code for fun --

play09:01

but I want to code for something meaningful

play09:04

so every single project I've ever done has been something I needed

play09:08

and --

play09:09

CA: So really, both Linux and Git kind of arose

play09:13

almost as an unintended consequence

play09:15

of your desire not to have to work with too many people.

play09:18

LT: Absolutely. Yes.

play09:19

(Laughter)

play09:20

CA: That's amazing. LT: Yeah.

play09:22

(Applause)

play09:23

And yet, you're the man who's transformed technology

play09:27

not just once but twice,

play09:28

and we have to try and understand why it is.

play09:31

You've given us some clues, but ...

play09:32

Here's a picture of you as a kid, with a Rubik's Cube.

play09:37

You mentioned that you've been programming since you were like 10 or 11,

play09:41

half your life.

play09:43

Were you this sort of computer genius, you know, ΓΌbernerd,

play09:46

were you the star at school who could do everything?

play09:49

What were you like as a kid?

play09:52

LT: Yeah, I think I was the prototypical nerd.

play09:54

I mean, I was ...

play09:57

I was not a people person back then.

play09:59

That's my younger brother.

play10:01

I was clearly more interested in the Rubik's Cube

play10:04

than my younger brother.

play10:06

(Laughter)

play10:07

My younger sister, who's not in the picture,

play10:10

when we had family meetings --

play10:12

and it's not a huge family, but I have, like, a couple of cousins --

play10:16

she would prep me beforehand.

play10:19

Like, before I stepped into the room she would say,

play10:22

"OK. That's so-and-so ..."

play10:25

Because I was not --

play10:28

I was a geek.

play10:29

I was into computers,

play10:30

I was into math,

play10:31

I was into physics.

play10:33

I was good at that.

play10:34

I don't think I was particularly exceptional.

play10:37

Apparently, my sister said

play10:39

that my biggest exceptional quality was that I would not let go.

play10:47

CA: OK, so let's go there, because that's interesting.

play10:50

You would not let go.

play10:51

So that's not about being a geek and being smart,

play10:54

that's about being ... stubborn?

play10:57

LT: That's about being stubborn.

play10:58

That's about, like,

play11:01

just starting something

play11:03

and not saying, "OK, I'm done, let's do something else --

play11:08

Look: shiny!"

play11:10

And I notice that in many other parts in my life, too.

play11:15

I lived in Silicon Valley for seven years.

play11:18

And I worked for the same company, in Silicon Valley,

play11:22

for the whole time.

play11:24

That is unheard of.

play11:27

That's not how Silicon Valley works.

play11:28

The whole point of Silicon Valley is that people jump between jobs

play11:32

to kind of mix up the pot.

play11:35

And that's not the kind of person I am.

play11:37

CA: But during the actual development of Linux itself,

play11:39

that stubbornness sometimes brought you in conflict with other people.

play11:44

Talk about that a bit.

play11:46

Was that essential to sort of maintain the quality of what was being built?

play11:51

How would you describe what happened?

play11:54

LT: I don't know if it's essential.

play11:57

Going back to the "I'm not a people person," --

play12:00

sometimes I'm also ...

play12:04

shall we say,

play12:05

"myopic" when it comes to other people's feelings,

play12:09

and that sometimes makes you say things that hurt other people.

play12:14

And I'm not proud of that.

play12:18

(Applause)

play12:19

But, at the same time, it's --

play12:22

I get people who tell me that I should be nice.

play12:26

And then when I try to explain to them that maybe you're nice,

play12:32

maybe you should be more aggressive,

play12:34

they see that as me being not nice.

play12:38

(Laughter)

play12:40

What I'm trying to say is we are different.

play12:42

I'm not a people person;

play12:44

it's not something I'm particularly proud of,

play12:46

but it's part of me.

play12:48

And one of the things I really like about open source

play12:50

is it really allows different people to work together.

play12:56

We don't have to like each other --

play12:58

and sometimes we really don't like each other.

play13:00

Really -- I mean, there are very, very heated arguments.

play13:04

But you can, actually, you can find things that --

play13:08

you don't even agree to disagree,

play13:10

it's just that you're interested in really different things.

play13:13

And coming back to the point where I said earlier

play13:16

that I was afraid of commercial people taking advantage of your work,

play13:20

it turned out, and very quickly turned out,

play13:23

that those commercial people were lovely, lovely people.

play13:26

And they did all the things that I was not at all interested in doing,

play13:30

and they had completely different goals.

play13:32

And they used open source in ways that I just did not want to go.

play13:37

But because it was open source they could do it,

play13:39

and it actually works really beautifully together.

play13:42

And I actually think it works the same way.

play13:44

You need to have the people-people, the communicators,

play13:47

the warm and friendly people

play13:49

who like --

play13:50

(Laughter)

play13:52

really want to hug you and get you into the community.

play13:55

But that's not everybody.

play13:56

And that's not me.

play13:58

I care about the technology.

play13:59

There are people who care about the UI.

play14:01

I can't do UI to save my life.

play14:04

I mean, if I was stranded on an island

play14:07

and the only way to get off that island was the make a pretty UI,

play14:11

I'd die there.

play14:12

(Laughter)

play14:13

So there's different kinds of people,

play14:15

and I'm not making excuses, I'm trying to explain.

play14:18

CA: Now, when we talked last week,

play14:20

you talked about some other trait that you have,

play14:22

which I found really interesting.

play14:24

It's this idea called taste.

play14:25

And I've just got a couple of images here.

play14:28

I think this is an example of not particularly good taste in code,

play14:32

and this one is better taste,

play14:35

which one can immediately see.

play14:37

What is the difference between these two?

play14:40

LT: So this is --

play14:41

How many people here actually have coded?

play14:45

CA: Oh my goodness.

play14:47

LT: So I guarantee you,

play14:48

everybody who raised their hand,

play14:49

they have done what's called a singly-linked list.

play14:52

And it's taught --

play14:55

This, the first not very good taste approach,

play14:58

is basically how it's taught to be done when you start out coding.

play15:02

And you don't have to understand the code.

play15:04

The most interesting part to me

play15:06

is the last if statement.

play15:10

Because what happens in a singly-linked list --

play15:13

this is trying to remove an existing entry from a list --

play15:16

and there's a difference between if it's the first entry

play15:20

or whether it's an entry in the middle.

play15:22

Because if it's the first entry,

play15:24

you have to change the pointer to the first entry.

play15:27

If it's in the middle,

play15:28

you have to change the pointer of a previous entry.

play15:31

So they're two completely different cases.

play15:33

CA: And that's better.

play15:34

LT: And this is better.

play15:35

It does not have the if statement.

play15:38

And it doesn't really matter --

play15:40

I don't want you understand why it doesn't have the if statement,

play15:44

but I want you to understand

play15:45

that sometimes you can see a problem in a different way

play15:48

and rewrite it so that a special case goes away

play15:51

and becomes the normal case.

play15:53

And that's good code.

play15:55

But this is simple code.

play15:56

This is CS 101.

play15:58

This is not important -- although, details are important.

play16:01

To me, the sign of people I really want to work with

play16:05

is that they have good taste, which is how ...

play16:09

I sent you this stupid example

play16:10

that is not relevant because it's too small.

play16:13

Good taste is much bigger than this.

play16:15

Good taste is about really seeing the big patterns

play16:19

and kind of instinctively knowing what's the right way to do things.

play16:24

CA: OK, so we're putting the pieces together here now.

play16:27

You have taste,

play16:30

in a way that's meaningful to software people.

play16:32

You're --

play16:33

(Laughter)

play16:35

LT: I think it was meaningful to some people here.

play16:39

CA: You're a very smart computer coder,

play16:42

and you're hellish stubborn.

play16:45

But there must be something else.

play16:47

I mean, you've changed the future.

play16:48

You must have the ability of these grand visions of the future.

play16:51

You're a visionary, right?

play16:53

LT: I've actually felt slightly uncomfortable at TED

play16:55

for the last two days,

play16:57

because there's a lot of vision going on, right?

play17:00

And I am not a visionary.

play17:02

I do not have a five-year plan.

play17:04

I'm an engineer.

play17:05

And I think it's really --

play17:07

I mean -- I'm perfectly happy with all the people

play17:09

who are walking around and just staring at the clouds

play17:12

and looking at the stars and saying, "I want to go there."

play17:15

But I'm looking at the ground,

play17:16

and I want to fix the pothole that's right in front of me

play17:19

before I fall in.

play17:20

This is the kind of person I am.

play17:22

(Cheers)

play17:23

(Applause)

play17:25

CA: So you spoke to me last week about these two guys.

play17:29

Who are they and how do you relate to them?

play17:32

LT: Well, so this is kind of clichΓ© in technology,

play17:35

the whole Tesla versus Edison,

play17:37

where Tesla is seen as the visionary scientist and crazy idea man.

play17:42

And people love Tesla.

play17:45

I mean, there are people who name their companies after him.

play17:48

(Laughter)

play17:51

The other person there is Edison,

play17:54

who is actually often vilified for being kind of pedestrian

play17:57

and is --

play17:59

I mean, his most famous quote is,

play18:02

"Genius is one percent inspiration and 99 percent perspiration."

play18:07

And I'm in the Edison camp,

play18:08

even if people don't always like him.

play18:11

Because if you actually compare the two,

play18:14

Tesla has kind of this mind grab these days,

play18:18

but who actually changed the world?

play18:21

Edison may not have been a nice person,

play18:25

he did a lot of things --

play18:28

he was maybe not so intellectual,

play18:30

not so visionary.

play18:33

But I think I'm more of an Edison than a Tesla.

play18:37

CA: So our theme at TED this week is dreams --

play18:40

big, bold, audacious dreams.

play18:41

You're really the antidote to that.

play18:43

LT: I'm trying to dial it down a bit, yes.

play18:45

CA: That's good.

play18:46

(Laughter)

play18:47

We embrace you, we embrace you.

play18:51

Companies like Google and many others have made, arguably,

play18:53

like, billions of dollars out of your software.

play18:56

Does that piss you off?

play18:57

LT: No.

play18:58

No, it doesn't piss me off for several reasons.

play19:01

And one of them is, I'm doing fine.

play19:03

I'm really doing fine.

play19:04

But the other reason is --

play19:06

I mean, without doing the whole open source and really letting go thing,

play19:11

Linux would never have been what it is.

play19:14

And it's brought experiences I don't really enjoy, public talking,

play19:19

but at the same time, this is an experience.

play19:21

Trust me.

play19:23

So there's a lot of things going on that make me a very happy man

play19:28

and thinking I did the right choices.

play19:30

CA: Is the open source idea --

play19:32

this is, I think we'll end here --

play19:34

is the open source idea fully realized now in the world,

play19:38

or is there more that it could go,

play19:41

are there more things that it could do?

play19:44

LT: So, I'm of two minds there.

play19:46

I think one reason open source works so well in code

play19:51

is that at the end of the day,

play19:53

code tends to be somewhat black and white.

play19:57

There's often a fairly good way to decide,

play20:01

this is done correctly and this is not done well.

play20:05

Code either works or it doesn't,

play20:07

which means that there's less room for arguments.

play20:12

And we have arguments despite this, right?

play20:16

In many other areas --

play20:17

I mean, people have talked about open politics and things like that --

play20:21

and it's really hard sometimes to say

play20:24

that, yes, you can apply the same principles in some other areas

play20:28

just because the black and white turns into not just gray,

play20:33

but different colors.

play20:36

So, obviously open source in science is making a comeback.

play20:40

Science was there first.

play20:42

But then science ended up being pretty closed,

play20:45

with very expensive journals and some of that going on.

play20:48

And open source is making a comeback in science,

play20:52

with things like arXiv and open journals.

play20:59

Wikipedia changed the world, too.

play21:01

So there are other examples,

play21:02

I'm sure there are more to come.

play21:05

CA: But you're not a visionary,

play21:07

and so it's not up to you to name them.

play21:09

LT: No.

play21:10

(Laughter)

play21:11

It's up to you guys to make them, right?

play21:13

CA: Exactly.

play21:14

Linus Torvalds,

play21:15

thank you for Linux, thank you for the Internet,

play21:18

thank you for all those Android phones.

play21:20

Thank you for coming here to TED and revealing so much of yourself.

play21:23

LT: Thank you.

play21:24

(Applause)

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
LinuxOpen SourceTechnologyInnovationProgrammingSoftware DevelopmentCommunityInterviewTED TalkNerd Culture