Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Guido van Rossum

๐Ÿ‘ค Speaker
See mentions of this person in podcasts
1189 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And that's sort of the moment that the GIL became infamous.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Because the GIL was the solution we used to sort of take this single interpreter and share it between all the different operating system threads that you could create.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And so as long as the hardware physically only had one CPU, that was all fine.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And then as hardware vendors were suddenly telling us all, oh, you got to paralyze.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Everything's got to be paralyzed.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

People started saying, oh, but we can use multiple threads in Python.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

And then they discovered, oh, but actually all threads run on a single core.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Yeah, there are a couple of possible futures there.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

The most likely future is that we'll get multiple sub-interpreters, which each run a completely independent Python program.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Nice.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

But there's still some benefit of...

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

of sort of faster communication between those programs.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Yeah.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

It's hidden from you, but you have to spend more time communicating between those programs because the sort of, the attractive...

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

thing about the multi-threaded model is that the threads can share objects at the same time that's also the downfall of the multi-threaded programming model because when you do share objects you weren't and you didn't necessarily intend to share them or uh there were aspects of those objects that that were not reusable uh you get all kinds of concurrency bugs and so

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

The reason I wrote that little blog post about Semaphores was that concurrency bugs are just harder.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

It would be nice if Python had no global interpreter lock and it had so-called free threading, but it would also cause a lot more software bugs.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

The interesting thing is that there is still a possible future where we are actually going to or where we could experiment at least with that.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

Because there is a guy working for Facebook who has developed a fork of CPython.

Lex Fridman Podcast
#341 โ€“ Guido van Rossum: Python and the Future of Programming

that he called the no-GIL interpreter, where he removed the GIL and made a whole bunch of optimizations so that the single-threaded case doesn't run too much slower and multi-threaded case will actually use all the cores that you have.