And suddenly you have to spend resources chasing down every other hack which was put into place to fix the stuff. PSX/PS2 were real-mode memory. It was common to directly access raw addresses and implement pointer math on top of that. Removing all comments in the primer would have gone from "okay here's one big headache we are aware of" to "we have no idea where all these small headaches are coming from."
Well yeah if it was already worked around without knowing the cause in multiple other places, then that's a problem. Otherwise it's just a full rebuild the world once fix though.
This maybe a naive question, but nowadays could we use AI to map those old system ? Maybe not refactor the entire thing, but at least map all those small headaches?
95
u/qoning Nov 25 '22
Tbh the obvious solution there is to write a precompiler to remove all comments.
But I bet the dude who discovered the source of the bugs had an awesome day. I would LOVE to be there at that minute.