Hacker News new | ask | show | jobs
by desindol 1368 days ago
No. It’s a completely different graphic stack.
2 comments

If you target PC/Console and don't have an abstract GPU interface, then you should rethink your life choices

And all the graphics stacks nowadays are similar, Vulkan, Metal, DX12, all share the same ideas

Also there are countless opensource cross platform GPU libs, bgfx [1] or sokol [2] for example

[1] - https://github.com/bkaradzic/bgfx

[2] - https://github.com/floooh/sokol

Yeah theoretically it’s that easy but irl it’s not…
There’s already a Mac OS version, so it they’ve presumably already handled that side of things.
Like most macOS games, it most likely is an x86-64 game that Apple's x86-64 emulator does an admirable job of emulating. As far as I can tell, very few Mac games, even new ones, are proper ARM builds currently.
IIRC, Factorio uses SDL - which afaict already targets macOS.