Live data from Hacker News

John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

youtube.com

281–290 of 303 posts

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#281

In 2000-2006 I implemented garbage collectors in C on Linux. I used Emacs and GDB, and likely also DDD and GDB from within Emacs. I don't think there was anything better back then. It's been a long time since I used C, but I wonder whether VSCode really gives a better experience than Emacs. Nowadays you can use Emacs with an LSP server, which is likely also what VSCode is doing. And there are Emacs distributions like…

> Regarding the comment about the debugging. For me personally, I always take the time to study the code first before I start debugging. A lot of times I already find the problem by just reading the code and even if that is not the case, I have a much better understanding about how the code is supposed to behave and that makes the debugging session a lot more useful. And I say that because I have the impression that…

> Simply because you have a tool doesn’t mean you have to skip the step of trying to understand the code.

Exactly. Maybe that was not clear from my comment, but my point is basically that using the most fancy tools is not gonna help a lot when you don't start with getting an understanding of the code.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#282
post #43

Earlier quoted context omitted.

> pride in Not really: the linked text shows it is a costly strategy to avoid later «self flagellation»: it is meant to avoid the practice of mindless coding - of overly fast feature insertion, blowing amounts of low quality code to maintain. Torvalds: « I'd rather not work with people who aren't careful ». Also: « I happen to believe that not having a kernel debugger forces people to think about their problem on a d…

Implicit in that argument is that these kernel developers are writing low quality code / coding mindlessly. That’s a bold statement to make when you don’t know who I’m talking about. At no point has anyone suggested using the debugger in lieu of understanding what the program does and that’s a pure strawman. Understanding is step 0. Once you’ve done that piece, a debugger levels up your game. Same with other tools li…

As the cheerful used to say: "«You» who"?

That is not implicit: it seems explicit and literal. Apparently, Torvalds must have had different experiences - and evidently within a strongly different framework: it looks like the project manager in a drastic effort to propagate the will about what is part of the project and what is not.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#283
post #32

Any tips or caveats for using VS6 to develop modern software?

Installing VS6 on modern Win10 can be annoying. Might actually be easier to make a dedicated Wine prefix on Linux :-P. Anyway, there is an article written on CodeProject[0] a few years ago about installing VS6. It may also work on Win11, however due to the changes over time you need to do some more additional stuff: 1. Do not install the OLE/COM viewer 2. Ensure the installation finished propertly otherwise SP6 wont…

> ideally VB6 should have been able to use VC6 headers or even C sources directly just by making them part of the project

You could access compiled DLLs from C and C++ projects within Visual Basic. Not quite the same thing as headers I know but it did at least fill that gap that you described.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#284
post #45
post #18

I've been trying to listen to the whole thing (it's 5 hours!), and there are some really interesting moments. Albeit, a bit too much talk on old video games that aren't from my generation, but I'm sure this will be interesting to some people to. What I found interesting: * he has insane hours and has never burnt out. He says that if you want to achieve big things in your life, you need to work a lot. He also says tha…

> he has insane hours and has never burnt out I think there's two major things you need in order to do that. Work on what you love/want and have no/little need for socializing.

And a very good health. Doing this sedentary job for long hours and not getting issues is very difficult, unless you use most of your free time doing some sports or other intense physical activity or you have very good genetics.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#285
post #90

Earlier quoted context omitted.

Why should I prefer a strict grid of characters based on technology from more than half a century ago to a GUI for something with the functionality of a tool such as VSCode or Sublime Text?

> "Technology from more than half a century ago" I think you are missing out the part where it's technology developed continuously for almost half a century. VSCode is very nice, but I quickly become frustrated by it's lag in comparison. It does beats the pants of every other GUI IDE out there, with JetBrains IDEs coming a significant second place. But Vim or Emacs with LSP are extremely capable IDEs and have unmatch…

> But Vim or Emacs with LSP are extremely capable IDEs and have unmatched speed compared to any GUI IDE you can name.

I do not doubt that they are. I use Emacs with a simple config as the default editor to open files with, but I do not know elisp to set up something more feature-rich, and have not felt the need to yet, but I would like to try some day. It is a truly unique piece of software with lots of love put into it, and it is also GPL which I like. The problem is just that the defaults are painful and I want to know exactly what my elisp is doing, and this would take some work. Yes I know that Spacemacs and Doom Emacs exist.

But my comment (the phrasing could be clearer) was about the choice of TUI vs GUI if one was to start creating a new IDE today, in response to the parent comment:

> With enough effort and care, a frictionless experience can be made with a TUI should some "Jetbrains" come along and try to make a commercial product out of it.

In such a case my preference would be to have a decoupled architecture which would allow for both. You can make such nice things with today's computing power and graphics cards, that it would be a shame to not take advantage of it. And the performance can be stellar. We are talking TFLOPS nowadays.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#286
post #239

Earlier quoted context omitted.

Have you tried Magit in Emacs? It's an embedded git client with a very smooth workflow. No need to open and close Emacs just to edit the commit message. Once I got really used to Magit, it's definitely my favorite way to interact with git. Some valuable advice I got about Emacs after switching from Vim is that it's not really a text editor, it's more like an operating system. You shouldn't need to reboot the OS betwe…

Please describe how you achieved the color config.

Here's a write-up!

http://deliberate-software.com/emacs-project-tip/

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#288
post #69

Earlier quoted context omitted.

Sounds horrible. Just let me open a folder without it being a project or having to use a script to clean up stuff (wtf?).

VS Code creates a project though: .vscode folder.

Only if you make workspace-specific settings changes.

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#289
post #204

Earlier quoted context omitted.

> I start my code editor maybe once or twice a day I start my main editor (with the shortcuts I like and all) every time I write (or edit) a commit message. And back when I used Mutt, every time I wrote an email as well. (Now I’m using Thunderbird, but I did like the ability to use my preferred text editor everywhere.) RAM is cheap at the individual level. But if the entire world needs to go from 16GB to 32GB or what…

Just for reference, start emacs once, run M-x server-start and set your global git editor to emacsclient -t and you end up with an instant in terminal emacs editor for git, that will also leverage magit when necessary.

you could start the server automatically using `-a ""`.

I've configured $EDITOR to start `emacsclient "$@" -a ""` with necessary arguments (I get emacs frame instantly when necessary).

https://stackoverflow.com/questions/4458800/how-to-use-one-i...

Re: John Carmack: Best Programming Setup and IDE – Lex Fridman Podcast Clips

#290
post #13

I am curious: how does this guy Friedman make a living?! His full time job seems to be running this podcast interviewing people. Every few days he publishes a 2-hour long interview. He distributes ads, I am not sure how much that brings in.

A semi successful YouTube video with less 2m views can easily bring in several thousand dollars in ad revenue. He is way more successful and has multiple sponsors. https://www.atomic14.com/2022/07/27/successful-youtube-video...

Also has a Patreon with nearly 1000 subscribers.
Post reply on HN