Hacker News new | ask | show | jobs
by corysama 15 days ago
As far as the coding user experience that I have personally observed, game programming peaked with the team developing NBA Inside Drive 2004 for the Xbox.

Their workflow was:

1) Arrive at work. Get coffee. Fetch latest code from Visual Source Safe.

2) Turn on Xbox. Hit F5 to build, deploy and start debugging on target.

3) Edit and Continue C++ in debugger IDE all day on target without ever bothering to stop the game. (Yes, this took some coding discipline to maintain.)

4) Turn off Xbox and go home.

Between the Visual Studio debugger and the Whole Tomato coding assistance, it was easy to understand the code and the runtime behavior. For anything GPU-related, Microsoft Pix for Xbox gave you a scrubbable timeline of every action, every pixel, every register change in the GPU while drawing a frame.

The hardware capabilities, available libraries, and artist tools have increased tremendously since then. But, the coding experience has not. 20 years later, I'm outside of gaming and I find most people using re-run-and-printf debugging for professional development. Even locally. I don't know how anyone gets anything done.

The only significant improvements I've seen in 20 years (besides the occasional memory tracker or profiler tool) has been AI agents and reversible debuggers. Otherwise, it's all been downhill since 2004.

7 comments

it drives me insane that good tracing profiler tools are basically confined to certain niche domains and/or are insanely expensive (or some weird cloud based shit). instrumenting programs (printf or otherwise) is dumb as hell when all desktop usermode (and even most embedded chips worth coding for) have the capability of instruction level trace. tools have sweet graphical timelines and stuff and it's killer.

basically, all programming should be writing requirements as a custom level for Shenzhen I/O

VS 2026 can be purchased on a perpetual basis for $500. They will email you a license key you can write down on a piece of paper and use forever.

https://www.microsoft.com/en-us/d/visual-studio-professional...

Vtune is free for personal use. Superluminal is €60 for personal use. Pix and render doc are also both free for commercial use’

More people should use them!

Maybe someone should artcraft the good debugging tools.
I haven’t used it personally, but I always heard that VSS was a complete train wreck.

Gamedev programming probably hit a low point for me when XBox One and WiiU came around. Those were some truly awful experiences.

We still use perforce which is a mess but the reality is that you spend 2 minutes a day interacting with the tool, it doesn’t matter if it’s shit. Even now as a lead, most of my time is in swarm (reviewing), and I don’t care about all the jank that comes with P4.

I actually think git and the DVCS madness is a good example of complexity for the sake of complexity. Ending up in a detached head state through a seemingly normal series of commands, and then being able to continue working and have a very difficult resolution (compared to how you go there in the first place) that requires you to know how git works is a perfect example.

On the flip side, again in P4, you get latest and that’s it.

Detached head is neither scary nor hard to recover from. Heck, you don't even NEED to recover from it. You can just push you HEAD straight to a remote branch.
In order to do that you need to know what a detached head is, what head is (and when it’s something different) and that you resolve that.

It’s just not possible to end up in that state with something like P4. My current company has >1000 people, most of whom are non-technical (artists, designers) pushing every day, and even when I worked at places with 30 people, the amount of time I spent training people on “click get latest revison, and double click to submit” was absolutely dwarfed by “I followed the git setup instructions but I can’t push my changes”

In 2026 none of this matters anymore. "Claude, why can't I push my changes?" "Claude, the repo is saying something about detached HEAD, how do I fix it?"

Or even: "Claude, push the PR and sync git"--it's more than happy to take that off your plate.

This might result in some very messy situations. I never dared to ask AI to do git for me. I did ask for help but I had to double and triple check.

Most of the time I simply remove everything and start from a clean slate.

It’s not only that. You also need to understand the concept of merge, squash merge and rebase, and the difference among them.

I admit I never dabbed into the internals because I was not very interested in git. I’m interested in other stuffs such as the OS kernel.

I do think it is the wrong tool for most people out there. If you are not doing 1,000 people distributed development there should be a different tool for source control. What my team does is 95% “one developer owns the changes of one or more files and others don’t touch them” type so it is rarely a true distributed development, in the sense of multiple people touching the same systems at the same time. However, I haven’t surveyed the landscape of version control. Maybe I should at least inspect the other big names.

I’ve not used Claude to resolve an issue with git (I use perforce) but my experience with asking Claude to resolve p4 issues is that it goes down a huge rabbit hole and doesn’t solve the problem. I think it’s an artefact of a proprietary tool though
Git's issue is not that DVCS is bad. Its just that P4 workflows work better for binaries.

Git LFS is tacked on, Git's locking support is crap, the culture of git is not to build helper plugins like P4 so no one does it.

Distributing P4 to multiple offices is a pain in the ass and it really does need a lot of hardware to keep things going.

Maybe Epic's Lore will shake things up and we get the workflow in a nicer backend. Still, sane defaults and control is also something wanted so, to your points, Lore is not a DVCS

I’ve no comment on lore, I haven’t used it.

> Git’s issue is not that DVCS is bad. It’s just that P4 workflows work better for binaries

I think that git is a good DVCS, but that a DVCS is way overkill for most forms of software development. The complexity that is paid for that is paid by every single person who uses the tool. I don’t think it’s binaries, I think it’s the centralised workflow is just better for many/most teams. I can count on one hand the number of times I have worked with multiple remotes, or pulled from a teammate’s branch without going via a forge.

> Git LFS is tacked on, Git's locking support is crap, the culture of git is not to build helper plugins like P4 so no one does it

Could not agree more here.

> Distributing P4 to multiple offices is a pain in the ass and it really does need a lot of hardware to keep things going

Understatement of the decade! It’s an absolutely enormous, completely unfulfilling task. IIRC, we ran 3 edge servers and an extra pull through proxy at my last job for 100 people, and we spent about $6k/mo on the hardware alone on AWS.

> that requires you to know how git works

Professionals should know how their tools work.

A few years ago I was working in a company and I posted something like this:

I am an app developer. Our front end is a C++ application (a game), our backend is a dotnet application. We also have an admin portal. A single feature, including deployment touches C#, C++, JavaScript, opentofu, AWS, windows, Linux (maybe macOS), docker, MySQL, redis, caddy, git, bash, plus all of the libraries and individual tools they call through too. Every single one of those has its own quirks and sharp edges. If I spent my working hours (40h) knowing each of those tools to a professional level, I wouldn’t have enough time to work on the app.

That means the application in total is way too complex, and could be pared down by orders of magnitude.
It’s a backend, game and web portal that runs in a container with a database and a cache. Everything else is “incidental” complexity that just comes with running an app.
Can’t delete so edit out.
Your arguments are very confusing because of the mix of some, most, and all, and the jumping between them.

> few professionals know what ALL of the tools

> developers use (some or most)

> not all of them know

If you are a professional you need to know your tools, in any discipline. It does not matter what most or not all do. If you do not know your tools, you are not very professional.

This is what argument from existential fear looks like.
Git is designed for a distributed situation. Different coders spread across time and space.

You always have the ability to try out the simple version that ignores that reality:

* Don't branch

* Always force-push to master.

Neither of those work if you work with one other person.
They work as well as perforce.
I disagree. Perforce requires you to be connected to the depot (ignoring reconcile offline work because that’s a break glass feature), and allows you to check in when you are not synced to latest. It forces you to deal with file level conflicts at time of update, not at the time of submission, and the intermediate state of “I have local changes that the remote/server doesn’t know about” is considered exceptional rather than the norm.

I can count on one hand the number of times I’ve had to reconcile offline work in the last 18 months, which is the equivalent of every merge commit in git.

P4 has file locking and automatic file type locking on checkout to prevent conflicts. It honestly goes a LONG way and the games industry is built around that tooling.
how so?
The biggest issue with XB1 is that it felt like a massive regression compared to 360 development. We were forced to use this Windows 8 stack that came with all sorts of warts: “managed” C++/CLI, confusing manifest files, complicated app lifetime rules, only push deployment initially, limited threading control.

For WiiU, Nintendo used the Green Hills compiler. Their entire toolchain was simply clunky and unstable. You had to use this MULTI debugger which often didn’t work. My favorite line from their dev docs was “c++ not fully supported”. Well, that’s an issue since we used that extensively. It wasn’t even clear what actually wasn’t supported.

Visual Source Safe was definitely an unserious source control system. That part was kindof a joke... It technically got the job done for a small local team. But, it would be laughed out of town if it was made today.
I certainly didn't know of anyone at MSFT who used it.
I worked adjacent to the team that maintained it. they certainly didn't use it either, and were very clear-eyed about the issues with the product.
> I haven’t used it personally, but I always heard that VSS was a complete train wreck.

It was, but then it was just a version control system. Back then version control wasn't as 'intrusive' into the whole development workflow as git is today. You interacted with version control exactly twice a day: once in the morning to get the latest state, and once in the evening to commit the day's work.

You’re forgetting the running around the office trying to find the guy who’d checked out the file you desperately needed to edit.

For you young’uns, old source control used to work like that. To edit a file, you checked it out, no-one else was allowed to edit it until you’d finished.

Wasn't SVN like that as well? Some memories of TortoiseSVN are slowy emerging from the deep dust recesses of my brain
I read about that in Showstopper. David Cutler made a phone call to a developer who went to lunch without releasing the file he checked out.

I do need to inspect the other big names of contemporary version control tools. Maybe they are more suitable for small teams or individuals.

I like REPL, but you can be quite fast with a Edit-Compile-Run cycle. But that require settings a test harness and have the run phase be a test run. It's not as fast and experimental as an REPL, but can be quite nice if you know the test cases for your code.
The parent and this thread are talking about game dev.

> if you know the test cases for your code

IME, most gameplay code is not tested, it’s done by feeling. Quick iteration cycles on feeling, is super important, and most of these sorts of projects have 30+ second boot times (way longer in the days of hard drives instead of SSDs)

> Whole Tomato coding assistance

This was far before Copilot and it was the superbest extension for VC++6 & up.

> 3) Edit and Continue C++ in debugger IDE all day on target without ever bothering to stop the game. (Yes, this took some coding discipline to maintain.)

Similar experiences but with Java and Eclipse: editing code while it's running is amazing. And yet, far too often, since moving on from Java to Swift, even with the "proper" Instruments, the actual best I've had has been debug-by-print in much slower cycles... and sometimes not even that, when things went wrong in SwiftUI I might as well have been an ancient Roman haruspex reading entrails for all the good it did.

And at the time, everyone was complaining about Eclipse.

That was pretty much my experience developing a PS2/Dreamcast game in the 2000-2001 timeframe when working on the PC build, the _REASON_ I did so was because the PC port ran on 3dfx and that crashed the OS every 2nd-4th start so restarting was painful, being able to edit-continue was a godsend.

That said, still using debugger driven development and edit-continue to this day and marvel at the lack of experience of people touting Lisp or Erlang or whatever as the only places in the world with some kind of hot-code replacement.

Live coding is making a comeback. I predict it for 2027. LLMs can and have made hot code loaders for any existing language, and make trivial the nasty bugs that used to plague JIT developers (like broken stack frames).
LLM can even make its own language then hot load that one. I've been using it to build a game engine with its own scripting language for the last few weeks and the AI is absolutely astonishing at wielding it. Part of its integration testing is exporting screenshot dumps and comparing them pixel-by-pixel vs what it expected. It's been weeks since the scripting language had any issues hot reloading