logoalt Hacker News

OsrsNeedsf2Ptoday at 9:22 AM2 repliesview on HN

I'm currently in the middle of porting a game from 2004 to run on MacOS via wine. On a 5000$ Macbook Pro, I'm getting about 4 FPS. This has multiple causes, including the game being single threaded and running through Rosetta, but damn is it hard to get good single core performance out of Macbooks.

Out of curiosity, I also ported the game to arm Linux with fex + upstreamed the wine patches in about a third the time and there's no FPS issues


Replies

mirsadmtoday at 9:26 AM

If anything it's the exact opposite. They're ridiculously powerful with more memory bandwidth than pretty much any equivalent PC. It is easy to make sloppy software because you can get away with so much.

SXXtoday at 9:36 AM

What porting you talking about exactly? Packaging existing binaries? Compiling source code making it more compatible with Wine?

In my experience as game developer and porting C++ code tells such difference usually mean there are something really wrong with syncronization primitives. So 99.99% of the time code does nothing just waiting for something to unlock.