this post was submitted on 09 May 2025
388 points (95.8% liked)

196

17589 readers
621 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] scops@reddthat.com 15 points 1 day ago (1 children)

That first one doesn't make any sense. Every processor has its own assembly language. The game would run on YOUR machine and any others running the same processors, but you'd have to build a custom version for any other processor you want to support.

That said, it could potentially be insanely well optimized for that platform if everything was hand coded.

[–] BarbecueCowboy@lemmy.dbzer0.com 17 points 1 day ago (2 children)

That one is about Chris Sawyer. He'll remind people that there was a bit of C in there, but 99% x86 assembly / machine code in his words.

[–] paris@lemmy.blahaj.zone 4 points 13 hours ago

For anyone interested in why, C was new and didn't yet optimize to the same level that a clever and experienced human could optimize Assembly. IIRC, by the time he was developing Roller Coaster Tycoon, C compiler optimization was on par with human Assembly optimization, so it was the last notable game written entirely in Assembly for optimization purposes.

I think this was the video I watched where I learned this: https://youtu.be/0JouTsMQsEA

[–] Clbull@lemmy.world 13 points 1 day ago (1 children)

I think he only used C to build the installer. The rest was coded in x86 assembly.

Building anything in x86 assembly is a gargantuan effort, but then Chris Sawyer built a game on the same level of scale as RollerCoaster Tycoon...

[–] mriswith@lemmy.world 3 points 23 hours ago* (last edited 21 hours ago)

There is some C in the game as well:

It's 99% written in x86 assembler/machine code (yes, really!), with a small amount of C code used to interface to MS Windows and DirectX.

https://web.archive.org/web/20201108105209/http://www.chrissawyergames.com/faq3.htm