this post was submitted on 07 May 2025
154 points (94.3% liked)

Programmer Humor

35561 readers
253 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 day ago (2 children)

Yup, they shipped a debug build. Here's a video that shows the build side-by-side with one that was compiled with compiler optimizations: https://youtu.be/9_gdOKSTaxM

It was quite laggy in certain areas, particularly the submarine sank the framerate quite considerably.

[–] [email protected] 1 points 1 day ago (1 children)

I heard somewhere more recently that they probably did it on purpose because they didn't know if the game would be stable using the different settings. Nintendo was known for quality back then so if the game crashed, even a bit more, they thought it would hurt their bottom line.

[–] [email protected] 1 points 1 day ago

True, there were several programming mistakes that caused undefined behaviour. Most of these the compiler warns about though, so they could have easily been fixed.

The issues were "masked" so to speak by the debug build (even if not fully gone, the game could still crash). But decompiling the game let modders fix those issues fairly easily, after which it could be recompiled with the proper optimizations.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

Thanks for the video. Yeah ok actually ~~clankers cavern~~ (no wait that was banjo kazooie, I meant that one with all the sea serpents) was hella laggy, you've brought it all back