logoalt Hacker News

delfaras04/23/20252 repliesview on HN

funnily enough, there was an infamous bug in GTA5 for a long time that was related to using JSON : https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times...


Replies

db48x04/23/2025

I remember that one too :)

They wrote a JSON “parser” using sscanf. sscanf is not bulletproof! Just use an open source library instead of writing something yourself. You will still be a real programmer, but you will finish your game sooner and you won't have embarrassing stories written about you.

Henchman2104/23/2025

Loading times are still absurd, fwiw.

show 1 reply