←back to thread

169 points pabs3 | 1 comments | | HN request time: 0.223s | source
Show context
ChrisMarshallNY ◴[] No.45758172[source]
Very cool, if impractical (it’s likely that you’d never get an ASM app through the App Store Approval process).

ARM Assembly is a much more Byzantine creature, than the old 8- and 16-bit versions I used, way back in the Pleistocene.

I’m always a fan of starting from the “bare metal,” to learn, but these days, it’s a long trip. When I was just a wee sprog, it was only a couple of steps away.

replies(2): >>45758211 #>>45759401 #
Ecco ◴[] No.45759401[source]
How would that impact the App Store approval? AFAIK they review binaries anyway…
replies(1): >>45759490 #
ChrisMarshallNY ◴[] No.45759490[source]
They do, but ASM doesn't have the guardrails that the compiled languages have, so it's almost certain that private APIs would get accessed.
replies(3): >>45760611 #>>45761070 #>>45761426 #
1. einsteinx2 ◴[] No.45760611[source]
What? That doesn’t make any sense. The only guard rails normal Obj-C has against calling private APIs is that they aren’t listed in the public headers, otherwise you can still easily call them. If you don’t explicitly make calls to private APIs from ASM, the won’t be called. I have no idea why you think “it’s almost certain that private APIs would get accessed.”