Hacker News new | ask | show | jobs
by tstack 19 days ago
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.

4 comments

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?