Parallelism in Python | Guido van Rossum and Lex Fridman

  Рет қаралды 71,056

Lex Clips

Lex Clips

Жыл бұрын

Lex Fridman Podcast full episode: • Guido van Rossum: Pyth...
Please support this podcast by checking out our sponsors:
- GiveDirectly: givedirectly.org/lex to get gift matched up to $1000
- Eight Sleep: www.eightsleep.com/lex to get special savings
- Fundrise: fundrise.com/lex
- InsideTracker: insidetracker.com/lex to get 20% off
- Athletic Greens: athleticgreens.com/lex to get 1 month of fish oil
GUEST BIO:
Guido van Rossum is the creator of Python programming language.
PODCAST INFO:
Podcast website: lexfridman.com/podcast
Apple Podcasts: apple.co/2lwqZIr
Spotify: spoti.fi/2nEwCF8
RSS: lexfridman.com/feed/podcast/
Full episodes playlist: • Lex Fridman Podcast
Clips playlist: • Lex Fridman Podcast Clips
SOCIAL:
- Twitter: / lexfridman
- LinkedIn: / lexfridman
- Facebook: / lexfridman
- Instagram: / lexfridman
- Medium: / lexfridman
- Reddit: / lexfridman
- Support on Patreon: / lexfridman

Пікірлер: 39
@LexClips
@LexClips Жыл бұрын
Full podcast episode: kzbin.info/www/bejne/Y3W5qp2arJmnb6s Lex Fridman podcast channel: kzbin.info Guest bio: Guido van Rossum is the creator of Python programming language.
@jae5577
@jae5577 9 ай бұрын
Hats off to you Guido, your insights to a lot of things even computer science level topics are very invaluable
@jpa_fasty3997
@jpa_fasty3997 Жыл бұрын
5:23 Mmmmm, a lovely carrot and potato cake. My favourite!
@danielplainview6527
@danielplainview6527 Жыл бұрын
When I found out Python was named, not after a snake, but for Monty Python… I was hooked. Then it turned out that Python was actually very useful and powerful - a nice bonus.
@tomasvallejos1609
@tomasvallejos1609 Жыл бұрын
I thought you were going to say "then it turned out that Monty Python was named after the snake" lol
@danielplainview6527
@danielplainview6527 Жыл бұрын
@@tomasvallejos1609 damn, that would’ve been way better lol.
@JaapvanderVelde
@JaapvanderVelde Жыл бұрын
Chop the carrots, check. Peel the potatoes, cool. Mix the icing, wait what? What are we cooking here?
@saitaro
@saitaro 4 ай бұрын
A python pie.
@Age_of_Apocalypse
@Age_of_Apocalypse Жыл бұрын
I don't know about the Python's parallelism, but I'm using Golang - for AI projects - and the parallelism works very well and it's a big help in getting way faster. 😊
@vwvvvww
@vwvvvww Жыл бұрын
You should try Nim - I've used it a lot for dataset processing, and I loved it. Nim has a syntax somewhat similar to Python, it's pretty easy to code in Nim, and it's almost as fast as C - because Nim code is actually translated to C and compiled by gcc
@Age_of_Apocalypse
@Age_of_Apocalypse Жыл бұрын
@@vwvvvww Thank You for the information; I will check it out!
@AsbestosSoup
@AsbestosSoup Жыл бұрын
I feel like chefs could write better concurrency algorithms than most programmers simply due to how they are trained to think in high pace kitchens
@dimitriosdesmos4699
@dimitriosdesmos4699 Жыл бұрын
Python is an excellent language for beginners.....changed my life almost.
@holthuizenoemoet591
@holthuizenoemoet591 Жыл бұрын
not exclusive to beginners, python is just a great tool
@Gruuvin1
@Gruuvin1 Жыл бұрын
When I fish with four fishing rods, I catch four times as many fish as I catch with one rod. And since I catch zero fish with one rod, ...
@woolfel
@woolfel Жыл бұрын
in reality, it's not callback or task for concurrent programming. Some types of processes fit more naturally to callback, while other use cases fit tasks. Dough Lea's book is the best one on the subject and his contribution to java concurrent made it one of the best implementations.
@picosdrivethru
@picosdrivethru Жыл бұрын
why can't all the ovens pull in cakes to be baked from a common list or que or whatever, and all cakes once ready to bake continously add themselves to that list ?
@wzqdhr
@wzqdhr Жыл бұрын
Guido is like: multi core screwed GIL up, well I’ll just wait for something that kills multi core in the future then GIL is back to the game!
@Alex-dd3oy
@Alex-dd3oy Жыл бұрын
Link to Guido's blog post please?
@AsbestosSoup
@AsbestosSoup Жыл бұрын
kzbin.info/www/bejne/rqepi52larWafZI
@kenhaley4
@kenhaley4 Жыл бұрын
"Chop the carrots, peel the potatoes, mix the icing..." What the hell is he making?😄
@bonedragon7665
@bonedragon7665 Жыл бұрын
m.kzbin.info/www/bejne/fWGboaR3lq-ca80
@madMILL3R
@madMILL3R Жыл бұрын
The best way I can describe and understand the idea of parallelism as it pertains to semaphores is a 4 way stop. Generally when it is your turn to go you progress through the intersection and do what you want with the shared data. Others may not cross into the intersection while you are crossing giving you full control of the data for whatever period is decided by the programmer, likely when the data manipulation is done or sufficiently done. Traditionally in most cases I think it would work as a queue or FIFO structure where the next process that hits that semaphore who is waiting will get access as soon as the other process has safely exited the intersection.
@ernesto8738
@ernesto8738 Жыл бұрын
meanwhile erlang knew exactly what to do with all those cores from the very beginning
@zameerahmed1775
@zameerahmed1775 Жыл бұрын
Guido the God of Python ............ He is like a natural phenomenon
@ianrust3785
@ianrust3785 Жыл бұрын
Way to circumvent GIL in python in 3.12... this is big news!
@miguelmejia1952
@miguelmejia1952 Жыл бұрын
What about if it's the brain, so much that whàt í thought abóut and thàt was after í played a gàme and ín the game ít does what I thought I never wrote añy thing it just happen
@kotus3831
@kotus3831 Жыл бұрын
What kind of performance are we talking about here? Educate me please
@floooobzdagget3734
@floooobzdagget3734 Жыл бұрын
I'll stick with Apple Basic, Goto statements, and HGR2 graphics.
@JayTeaFTW
@JayTeaFTW Жыл бұрын
LMAO. Literally writing a cuda parallelized page rank program in c++ as we speak 😂 FML
@jobe451
@jobe451 Жыл бұрын
OMG: I am a Javascript guy. I hear that talk and think event-loop. When you right Javascript, all your I/O stuff is done async by default... Praise the enent-loop!!!
@greendsnow
@greendsnow Жыл бұрын
this is slow...
@randommofo123
@randommofo123 Жыл бұрын
Man makes excuses for why him and an entire team can't do what 1 dude from Facebook did.
@niranjan_7891
@niranjan_7891 2 ай бұрын
What did Facebook do?
@aftalavera
@aftalavera Жыл бұрын
Every time you find two smart individuals the older will be wiser.
@annaczgli2983
@annaczgli2983 Жыл бұрын
5:39 Sheesh. He may be a great man. But, he uses the most terrible metaphors for teaching!
@JeremyParsons
@JeremyParsons Жыл бұрын
Guido is an honest critic of his own life's work and still helping python become less broken. Occam2, GO-lang and less broken languages never had some of these flaws. No one should ever use Python in production. Rust has fixed C. There is hope for a good typed scripting language with built-in CSP and multi-threading and perl5 is still the best for one-line powerful text munging but I hope it will shuffle off soon.
Guido van Rossum explains Python programming
20:54
Lex Clips
Рет қаралды 218 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 27 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 468 М.
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 797 М.
Magnus Carlsen vs Bobby Fischer - The Greatest Chess Game of All Time
9:39
David Cleveland Brown
Рет қаралды 97 М.
Unlocking your CPU cores in Python (multiprocessing)
12:16
mCoding
Рет қаралды 298 М.
Lex Fridman: What programming language should I learn?
15:33
Lex Clips
Рет қаралды 103 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2 МЛН
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 568 М.
Why Python is popular for machine learning
10:04
Lex Clips
Рет қаралды 128 М.
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 147 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 4,1 МЛН