3 ms·
LLVM won’t allow that type of portability. That was a myth that was dispelled by none other than Chris Lattner during an interview on ATP. The transcript of the
by scarface74 6y ago
LLVM won’t allow that type of portability. That was a myth that was dispelled by none other than Chris Lattner during an interview on ATP. The transcript of the interview is now returning a 404 though.
https://atp.fm/205 https://atp.fm/205
- pjmlp 6y agoLLVM open source version, yes you are correct. LLVM proprietary Apple own internal fork, as used in iOS and watchOS, is another matter. As a matter of fact, there is a WWDC talk about how it allowed the seamless migration of 32 to 64 on watchOS.
- scarface74 6y agoLattner also said later on Twitter that he was purposefully being vague during the interview. The 64 bit chip built for the watch and LLVM bitcode was designed in concert. https://mobile.twitter.com/clattner_llvm/status/1046960724646465541 https://mobile.twitter.com/clattner_llvm/status/104696072464...
- pjmlp 6y agoYeah, so we get into these kind of discussions, because everyone just talks about open source variant of LLVM. Apple does whatever they feel like with their proprietary fork, to the point that Apple's clang also gets its own column on cppreference. Just like Sony and Nintendo haven't contributed anything back to LLVM that would disclose any capability from their consoles.
- scarface74 6y agoI think Chris Latner has just a little insight on the inner workings of LLVM and it’s capabilities - even the proprietary portions that Apple hasn’t released in the open. I tweeted @atp and let them know that the transcript was returning a 404. They have since fixed it. https://atp.fm/205-chris-lattner-interview-transcript https://atp.fm/205-chris-lattner-interview-transcript John Siracusa: The same thing I would assume for architecture changes, especially if there was an endian difference, because endianness is visible from the C world, so you can’t target different endianness? Chris Lattner: Yep. It’s not something that magically solves all portability problems, but it is very useful for specific problems that Apple’s faced in the past.