Hacker News new | ask | show | jobs
by glandium 1368 days ago
The Nintendo Switch has an ARM64 CPU, which means the biggest part of porting to that CPU is now done. Does it mean we can expect an Apple Silicon mac build some time soon(ish)?
3 comments

I emailed them last week about Apple Silicon and they told me to watch for today's blog post. I interpret that to mean that, yes - this means they can more easily do that.
It runs fine on the M1. iPad support would be the real winner.
No. It’s a completely different graphic stack.
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.