Skip to content

Comment on Show HN: Rust Toolchain for iOS Bitcodeparent

Comments

To expand on this, it also lets them target new CPU architectures without having developers recompile code for that architecture. This lets them make incremental improvements (eg armv7), but would also let them use their own CPU architecture should they move away from Intel/ARM.

As an example here’s Chris Lattner tweeting about that use case:

https://twitter.com/clattner_llvm/status/1091186386634326017...

but would also let them use their own CPU architecture should they move away from Intel/ARM

Only if their new architecture looked a lot like Intel/ARM. Bitcode can’t paper over all architectural differences.

Regular bitcode cannot do it. However Apple has naturally customized it for their own purposes.

Not everything that Apple does lands on upstream.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.