Загрузка видео...

Не удалось загрузить видео

На главную

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

117,659 просмотров • 2 месяцев назад •via X (Twitter)

Комментарии: 26

Фото профиля Ryan Fleury
Ryan Fleury2 месяцев назад

Related:

Фото профиля Phil
Phil2 месяцев назад

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

Фото профиля uɐllɐdnɹɯɐᴉ
uɐllɐdnɹɯɐᴉ2 месяцев назад

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
Nicolas Craske2 месяцев назад

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

Фото профиля ASE
ASE2 месяцев назад

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
Gordon Leete2 месяцев назад

Debugger is the only way to have more power than root

Фото профиля gaussie
gaussie2 месяцев назад

This is why ITS had a DDT as a shell.

Фото профиля Cyber Ximas
Cyber Ximas2 месяцев назад

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
lderait Menlinden2 месяцев назад

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
banzaan2 месяцев назад

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

Фото профиля Ticker St.
Ticker St.2 месяцев назад

gdb + AI

Фото профиля Conny Brunnkvist
Conny Brunnkvist2 месяцев назад

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🌱
Abhishek🌱2 месяцев назад

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
Wolfgang Josef Lughofer2 месяцев назад

Step-by-Step — uh, Baybayy 👊

Фото профиля Rajath
Rajath2 месяцев назад

Thanks got sharing this. Will watch and sleep

Фото профиля Name
Name2 месяцев назад

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
SiRiUS CoOp2 месяцев назад

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

Фото профиля Gabbar Singh
Gabbar Singh2 месяцев назад

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

Фото профиля Jon Kakaley
Jon Kakaley2 месяцев назад

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

Фото профиля RMS Ministries
RMS Ministries2 месяцев назад

Like explaining the internal combustion engine to a dog.

Фото профиля Javier Neira
Javier Neira2 месяцев назад

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

Фото профиля David Reinig
David Reinig2 месяцев назад

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

Фото профиля Robert Baker
Robert Baker2 месяцев назад

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
Carlos Tecnico2 месяцев назад

Spent more time in GDB this week than writing code 🙄

Фото профиля Sonny Sunshine
Sonny Sunshine2 месяцев назад

Debooger

Фото профиля Tu
Tu2 месяцев назад

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

Похожие видео