Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

that's because it jits code instead of pre-jitting like android does, so when you hit a piece of code that hasn't been compiled yet you perceive it as slowdown since the first time it runs it is emulated.




This comment makes no sense. Both Swift and Objective C are precompiled languages.

swift compiles to bytecode, objective c I am not sure but I think that is native

This is incorrect. Swift optionally compiles to _bitcode_ (+), which is pre-compiled by _Apple_ before distribution, not by your device itself.

(+) Bitcode is now deprecated: https://digital.ai/catalyst-blog/navigating-apples-bitcode-c...


then it makes no sense why apple warns you that your device is performing "background" activities post update, last time I looked at iOS binaries they seem to decompile as-if it was bytecode - but it could also be related to more advanced debug directories haven't messed with internals of these devices since breaking the bootloader became pretty much impossible.

SQLite migration scripts, indexing and vacuuming.



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

Search: