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

We occasionally look at papers about HHVM, which is Facebook's efficient compiler for PHP.

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

There are tricks known from the JVM and PHP

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

Sometimes it just comes from academia.

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

This is a trick that is especially important for interpreted languages with dynamic typing, because if the compiler could read in the source

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

These X and Y that we're adding are integers.

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

The compiler can just insert the single add machine code, that hardware machine instruction that exists on every CPU, and ditto for floats.

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

But because in Python, you don't generally declare the types of your variables.

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

You don't even declare the existence of your variables.

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

They just spring into existence when you first assign them, which...

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

is really cool and sort of helps those beginners because there is less bookkeeping they have to learn how to do before they can start playing around with code.

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

But it makes the interpretation of the code less efficient.

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

And so we're sort of trying to make the interpretation more efficient without losing the super dynamic nature of the language.

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

That's always the challenge.

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

So the type hints is an optional mechanism that people can use.

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

And it's especially popular with sort of larger companies that have very large code bases written in Python.

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

It's more than documentation.

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

I mean, so it...

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

It is a sub-language of Python where you can express the types of variables.

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

So here's a variable and it's an integer.

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

And here's an argument to this function and it's a string.