Hacker News new | ask | show | jobs
by Stevvo 17 days ago
If you had worked in gamedev I doubt you would have this opinion. State of the art games are orders of magnitude more complex than any other software. "it can be written over the weekend" is a valid argument, now that AI is literally doing that in other fields of software to games.
4 comments

I am a professional game developer and Blow doesn't know what he's talking about when it comes to AI. He simply doesn't have sufficient experience using AI. And he doesn't have sufficient experience working in a project that is not his own zen garden that he is in total control of.
Please don't. I worked on databases, and elitism of gamedev folks often makes me smile.

People there will cheat every way possible to get their framerate/performance/cpy cycles. Yes, it's often amusing to read about really clever and interesting approaches, hacks or even framings of the problem. Like even one of Blow's presentations, where he was explaning how Braid did time reversal. Naive intuition tells: "make everything deterministic", Blow's answer: "how about just tracking state of everything".

But gamedev is not "orders of magnitude complex than any other software". State of the art databases need to be fast and correct. Even that alone makes them far more complex than "state of the art games".

And I'm sure there are many other areas who will look at databases and also rightfully tell that they are even more complex.

"make everything deterministic" is only part of a solution. You would have to resimulate everything previous from a checkpoint or initial conditions, which is potentially going to be very expensive. That said "make everything deterministic" is a great idea in games. e.g. see Rocket League networking/physics.
> State of the art databases need to be fast and correct

SOTA games need that too. Games need to deal with physics, audio, rendering, networking, anti-cheat etc. at the same time. All very performance sensitive

Do you think Postgres is more 'complex' than a triple A game like GTA 6?

I just can't let this pass... what happens if there is a bug in a game? Nothing of consequence. What happens if there is a bug in a database? Real-world consequences. A rendering glitch or an object behaving oddly in some cases is not a big deal. A database losing a record or computing something incorrectly... BIG F'ING DEAL! I cannot understand how you can even suggest these are equivalent.

> Do you think Postgres is more 'complex' than a triple A game like GTA 6?

Yes, absolutely. The postgres codebase has been around a long time and continues to be changed and accumulate functionality that all needs to work together. Just look at the details in the recent stories about all the issues that were found and the need to slip the schedule.

Exactly, in Fallout 3, they had to make a "train hat" because they couldn't implement vehicles properly.

Often, in video games, an acceptable resolution of a bug is "Just don't do that".

"Just don't double spend" is not a solution when dealing with financial transactions.

Large consequences to an action doesn't mean it's more complex.

A lithium battery is far easier to make than a phone, but there are severe consequences to it being done wrong.

For reference, Postgres is 1.5m lines of code. Madden 2015, a 10 year old game (latest example ChatGPT found) is 10 millions line of code. Furthermore, Postgres uses C, while Madden uses C++, so it's code is probably more compact.
Idk, what ChatGPT commented, but I wouldn’t be surprised if someone looked there, it would be (I’m guessing here, but that is somewhat educated guess)

1. Copy paste of custom c++ stl

2. Copy paste of whatever “standard library” they are using at the company

3. Copy paste of source code of whatever engine they are using with custom ad hoc fixes and patches that never were back ported back

4. Copy paste of every third party software that is seen on games startup screen

5. All the internal tools etc

Are you suggesting that databases need to be bug free? Postgres has bugs like every other piece of software

> what happens if there is a bug in a game? Nothing of consequence

Are you suggesting that all game bugs are of no consequence?

I’m quite confident that things like Spanner (that essentially is compiled to a binary), S3 are much more complex than GTA6.

Come on. GTA6 largest challenge and complexity is expectations, much less tech per se. they had gta5 and rdr2, they know how to do it

> And I'm sure there are many other areas who will look at databases and also rightfully tell that they are even more complex.

Robotics! Take all the problems of games and databases and put them on wheels.

> State of the art games are orders of magnitude more complex than any other software

This is an absurd claim that gamedev folk like to tell themselves. Having seen the mess of several engine codebases, incl AAA engines and the memory leaking unoptimized state of many games, I don't think so.

There's many safety critical real time systems that are both more complex and approached with a lot more thorough design. Let's just say I would not trust a Jonathan Blow to put people on the moon.

That's not to say gamedev isn't challenging, but it's not quite as complex as the industry would like to think.

> State of the art games are orders of magnitude more complex than any other software.

Tell that to the FAA.