Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

The App Store has an option where, in addition to uploading an ARM binary, you can upload LLVM bitcode (a binary representation of LLVM IR). This allows Apple to optimize the app differently for different devices[0], and is required to build apps for watchOS and maybe tvOS.

[0]: Not sure if Apple does this in practice, but I believe the purpose of bitcode is that they could do that if they wanted to.



OCaml compiler isn't LLVM based and LLVM bitcode is not supported.


When they released the first arm64_32-based watch they rebuilt all existing apps on the app store for that architecture from bitcode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: