Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

pov: you're a CPU waiting for Python to run a single line of code

47,926 görüntüleme • 2 ay önce •via X (Twitter)

22 Yorum

avrl ☘ profil fotoğrafı
avrl ☘2 ay önce

CPU waiting for rust code to get compiled

Roy profil fotoğrafı
Roy2 ay önce

One day someone told me "Just don't use Python" and I've been a free man ever since.

mouth profil fotoğrafı
mouth2 ay önce

do you understand what a CPU is? (it's the thing that runs python)

Mr Tomycj profil fotoğrafı
Mr Tomycj2 ay önce

I don't understand, isn't the CPU busy running that python code? I imagine python is slow because it makes the CPU do lots of things, so the CPU is more busy than it should be for a given task.

(infinite-jes) profil fotoğrafı
(infinite-jes)2 ay önce

Python's like me. It likes to take its time.

Victor Garcia profil fotoğrafı
Victor Garcia2 ay önce

The ruby code on Github's servers after getting 275m commits a week

🐔🇩🇴 kikirikii profil fotoğrafı
🐔🇩🇴 kikirikii2 ay önce

Is this the real thing?

Valentin Ignatev profil fotoğrafı
Valentin Ignatev2 ay önce

@polloimperial No community note means yes!

🐔🇩🇴 kikirikii profil fotoğrafı
🐔🇩🇴 kikirikii2 ay önce

Hahahaha It would be funny if you got community noted by the python foundation

CapacitanceZ profil fotoğrafı
CapacitanceZ2 ay önce

I think about this scene from Megamind often

Reece profil fotoğrafı
Reece2 ay önce

Facts and also great movie

Tom Miller profil fotoğrafı
Tom Miller2 ay önce

Game engines written in C++ struggle when you have more than a thousand NPCs on screen. Meanwhile Python can render 100,000 NPCs at the same time: At 120 fps. Maybe it's not the language, it's the skill that's the issue. 🤪

Wokensöldner profil fotoğrafı
Wokensöldner2 ay önce

wrong if you add two numbers somewhere a C ffi is being called

Paths profil fotoğrafı
Paths2 ay önce

the thing i hate the least about python is the speed/idea, its the packaging and bloat and all around out-doneness by a million other things

RH Fardin profil fotoğrafı
RH Fardin2 ay önce

CPU entered retirement before that line finished

rusa profil fotoğrafı
rusa2 ay önce

the funny part is how often the cpu is right to wait. most python lines are calling into c that's already fast. the slowness you feel is interpreter overhead between the fast parts, not the work itself. python is a great conductor and a terrible instrument.

fgei3gi profil fotoğrafı
fgei3gi2 ay önce

Wouldn't it be running code the interpreter and other setup code until it rubs real code

Kamen profil fotoğrafı
Kamen2 ay önce

CPU waiting for me to code something 🫡

DK profil fotoğrafı
DK2 ay önce

Just put n_jobs=-1

Joaquin profil fotoğrafı
Joaquin2 ay önce

Banger

azeke profil fotoğrafı
azeke2 ay önce

it's actually CPU waiting for random memory 99% of its operating time

suresh314x profil fotoğrafı
suresh314x2 ay önce

python deciding what to run also runs on cpu

Benzer Videolar