Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

This is why I spend more time inside GDB than I do writing code, and so should you. Lex Fridman || John Carmack

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

26 Yorum

Ryan Fleury profil fotoğrafı
Ryan Fleury2 ay önce

Related:

Phil profil fotoğrafı
Phil2 ay önce

Imagine how much better of a programmer Carmack would have been if he had known about print statements.

uɐllɐdnɹɯɐᴉ profil fotoğrafı
uɐllɐdnɹɯɐᴉ2 ay önce

John Carmack was right. -> Stop `printf` debugging. Open the debugger and watch your code run step by step. -> On Mac just type: `lldb ./your_program` You’ll understand your code better in 10 minutes than hours of print statements.

Nicolas Craske profil fotoğrafı
Nicolas Craske2 ay önce

Tracing and stepping through taught me so much about how OOP works AND how many algorithms behave. Debugging is an art form.

ASE profil fotoğrafı
ASE2 ay önce

Would be useful to see more agent workflows that treat the debugger as a first-class loop, not just “write → hope → read the stack trace.” Carmack’s point still stands: if you’re not inspecting the running program, you’re guessing.

Gordon Leete profil fotoğrafı
Gordon Leete2 ay önce

Debugger is the only way to have more power than root

gaussie profil fotoğrafı
gaussie2 ay önce

This is why ITS had a DDT as a shell.

Cyber Ximas profil fotoğrafı
Cyber Ximas2 ay önce

I remember when the "boss" from the worst "company" (glamourized personal project) I ever worked for, who really believed he was some sort of genius, was not able to install a useful debugger and stated, "It is better to use prints". Stupidity at its finest.

lderait Menlinden profil fotoğrafı
lderait Menlinden2 ay önce

The thing about 3d engines are you have to balance a lot of tradeoffs. It makes you appreciate the complexity of reality, that you get for free.

banzaan profil fotoğrafı
banzaan2 ay önce

would a team of three agents for programming debugging and qc work better?

Ticker St. profil fotoğrafı
Ticker St.2 ay önce

gdb + AI

Conny Brunnkvist profil fotoğrafı
Conny Brunnkvist2 ay önce

I spent years inside WinICE .. I never want to go back, but I feel like it provides a very sound basis for almost all other work. 🧐

Abhishek🌱 profil fotoğrafı
Abhishek🌱2 ay önce

thats why I spend more time in flamegraphs, perf., nsysy, ncu, i don't believe until i see through my naked eyes lolll

Wolfgang Josef Lughofer profil fotoğrafı
Wolfgang Josef Lughofer2 ay önce

Step-by-Step — uh, Baybayy 👊

Rajath profil fotoğrafı
Rajath2 ay önce

Thanks got sharing this. Will watch and sleep

Name profil fotoğrafı
Name2 ay önce

The world is just in such poverty when Lex is the best humanity can offer as an interviewer. Then again, it's free, so I guess it indeed has no value.

SiRiUS CoOp profil fotoğrafı
SiRiUS CoOp2 ay önce

I learned to code in QBasic. Had a built-in debugger—and built-in hyperlinked docs. It was pretty awesome.

Gabbar Singh profil fotoğrafı
Gabbar Singh2 ay önce

Gnu DDD helped me get thru college and complete my thesis.

Jon Kakaley profil fotoğrafı
Jon Kakaley2 ay önce

I can’t believe there are actually people who claim to not use debuggers

RMS Ministries profil fotoğrafı
RMS Ministries2 ay önce

Like explaining the internal combustion engine to a dog.

Javier Neira profil fotoğrafı
Javier Neira2 ay önce

but some people continue using *only* print("**** I have been here ****")

David Reinig profil fotoğrafı
David Reinig2 ay önce

Any debugger that does the job. But GDB (with plugging for nicer visualisation) is actually really nice

Robert Baker profil fotoğrafı
Robert Baker2 ay önce

The other day I had to solve a problem with camera angles being wrong when switching from FP to orbital and back and AI one-shotted the fix in about 30 seconds. I often use the debugger but man is it nice to have AI! 😃💙

Carlos Tecnico profil fotoğrafı
Carlos Tecnico2 ay önce

Spent more time in GDB this week than writing code 🙄

Sonny Sunshine profil fotoğrafı
Sonny Sunshine2 ay önce

Debooger

Tu profil fotoğrafı
Tu2 ay önce

He doesn't argue for using GDB, he essentially says it's the last resort that's better than nothing.

Benzer Videolar