Hacker News new | ask | show | jobs
by cesarb 2002 days ago
> Apple changed some things that impact PyPy, like the register uses and ffi calling conventions.

I thought everyone who used 64-bit ARM used ARM's AAPCS64 (https://github.com/ARM-software/abi-aa/blob/master/aapcs64/a...), so the register usage and FFI calling convention should be the same as on Linux and Windows. What did Apple do differently that would affect the PyPy JIT?

2 comments

There are some slight nuances that affect the JIT. https://developer.apple.com/documentation/xcode/writing_arm6...
Link is broken; asks user to enable remote code execution.
Please don’t call working links “broken”. It links to the right place, regardless of whether you like what happens when you get there.
In addition to a slightly modified ABI, Apple enforces W^X in hardware.