Пропустить навигацию
This is why I spend more time inside GDB than I do writing code, and so should you.
0:00 / 3:05

This is why I spend more time inside GDB than I do writing code, and so should you.

tetsuo

@tetsuoai256 тыс. подписчиков

Открыть в X
1 025 отметок «Нравится»СкачатьОригинальный пост

117 910 просмотров

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

26 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Ryan Fleury

    @rfleury

    Related:

    86 отметок «Нравится»

  • Фото профиля Phil

    @nonRealBrandon

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

    18 отметок «Нравится»

  • Фото профиля uɐllɐdnɹɯɐᴉ

    @iamrupallan

    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.

    18 отметок «Нравится»

  • Фото профиля Nicolas Craske

    @nicolascraske

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

    5 отметок «Нравится»

  • Фото профиля ASE

    @ofmyslippers

    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.

    4 отметки «Нравится»

  • Фото профиля Gordon Leete

    @GordonLeete

    Debugger is the only way to have more power than root

    2 отметки «Нравится»

  • Фото профиля gaussie

    @gaussie

    This is why ITS had a DDT as a shell.

    2 отметки «Нравится»

  • Фото профиля Cyber Ximas

    @sh1m4s

    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.

    2 отметки «Нравится»

  • Фото профиля lderait Menlinden

    @KChXexqiRYuheUe

    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.

    2 отметки «Нравится»

  • Фото профиля banzaan

    @_banzaan

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

    2 отметки «Нравится»

  • Фото профиля Ticker St.

    @ticker_st

    gdb + AI

    2 отметки «Нравится»

  • Фото профиля Conny Brunnkvist

    @connyb

    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. 🧐

    1 отметка «Нравится»

  • Фото профиля Abhishek🌱

    @Abhishekcur

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

    1 отметка «Нравится»

  • Фото профиля Wolfgang Josef Lughofer

    @wolfengange

    Step-by-Step — uh, Baybayy 👊

  • Фото профиля Rajath

    @SurapurRamesh

    Thanks got sharing this. Will watch and sleep

  • Фото профиля Name

    @canonicalmodel

    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

    @SiRiUSCoOp

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

  • Фото профиля Gabbar Singh

    @desiflaneur

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

  • Фото профиля Jon Kakaley

    @JonKakaley

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

  • Фото профиля RMS Ministries

    @rmsmin

    Like explaining the internal combustion engine to a dog.