Re:Apple’s Bitcode Telegraphs Future CPU Plans
by chmaynard on Wednesday June 17, 2015 @10:05AM
(#9731805)
Based on other comments here, it sounds like the LLVM Bitcode representation is more closely tied to a specific architecture than the System/38 intermediate representation was. Same idea, though.
Re:Apple’s Bitcode Telegraphs Future CPU Plans
by nickpsecurity on Wednesday June 17, 2015 @11:36AM
(#9732548)
I agree. That's either an advantage or another opportunity for modern IT to learn from the past. Those old systems were full of so many tricks they're still outclassing modern efforts in some ways haha.
Going further, I think a team could get interesting results combining this with design-by-contract, typed assembly, and certified compilation. Much like verification condition generators, the compilation process would keep a set of conditions that should be true regardless of what form the code is in. By the time it gets to the lower level, those conditions & the data types can be used in the final compile to real architecture. It would preserve a context for doing safe/secure optimizations, transforms, and integration without the original source.