by corysama · 1w ago · 0 comments
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.
basically, all programming should be writing requirements as a custom level for Shenzhen I/O
https://www.microsoft.com/en-us/d/visual-studio-professional...
More people should use them!
Gamedev programming probably hit a low point for me when XBox One and WiiU came around. Those were some truly awful experiences.
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.
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”
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
> 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.
Professionals should know how their tools work.
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.
You always have the ability to try out the simple version that ignores that reality:
* Don't branch
* Always force-push to master.
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.
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.
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.
I do need to inspect the other big names of contemporary version control tools. Maybe they are more suitable for small teams or individuals.
> 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)
This was far before Copilot and it was the superbest extension for VC++6 & up.
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 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.