3 ms·
By what measure? It's a great game, that people still talk about, ran more smoothly than a lot of current title. And it sounds like he knew the language. So how
by tete 4y ago
By what measure? It's a great game, that people still talk about, ran more smoothly than a lot of current title. And it sounds like he knew the language. So how was this a bad choice?
- kwertyoowiyop 4y agoHe could’ve gotten essentially equivalent performance writing it mostly in C, with only the time-critical parts in assembly. Assuming equivalent knowledge of C, it would’ve been quicker to write, easier to update and port, and easier for others to work with the code.
- tete 4y agoNot to sound rude, but this mostly seem like "random" assumptions, even on the goals side. Was there others to work on the code? Was portability a goal? Would it matter if the interface is a C for DirectX anyways?
- kwertyoowiyop 4y agoYou don’t sound rude. These assumptions are common for games in general, but who knows what the assumptions were for this game in particular? Or whether this programmer knew C well at the time? Or if Microsoft was likely to ask for ports or updates?
- mbrodersen 4y agoMaybe. Maybe not. The C compilers back then were not as good at optimising machine code as modern C compilers are.
- kwertyoowiyop 4y agoIt was possible: profile your program to find the hotspots, rewrite those in assembly, rinse and repeat.