News for hackers. Stuff that matters.
Re:Bitcode (iOS, watchOS) by delinka on Tuesday June 09, 2015 @08:34AM (#9685491)
The major difference with LLVM is modularity. If you create a new language frontend, you get all LLVM's CPU support "for free." If you create a new processor backend, you get all LLVM's frontend languages "for free."

This has interesting consequences such as retargeting anything from the frontend to anything on the backend. I'd venture a wager that in the old mainframe days, the monolithic nature of a JIT would not have been friendly to a porting campaign.

Re:Bitcode (iOS, watchOS) by pjmlp on Tuesday June 09, 2015 @09:30AM (#9685771)
Again, I don't see how this is any different from mainframes.

On OS/400 all executables are bytecode (TIMI) with the JIT on the kernel.

When AS/400 changed processors, the programs continued to execute as always, no change required. All languages got the new processor for free.

Any compiler that targets TIMI, gets OS/400 support for free.

Re:Bitcode (iOS, watchOS) by delinka on Tuesday June 09, 2015 @10:15AM (#9686008)
The difference is that they had to port the entire JIT to the new processor. With LLVM, you just need the backend components that represent the CPU. Granted, from an app developer's perspective, this is not really relevant because they're targeting a VM; where the VM runs, their apps run.
Re:Bitcode (iOS, watchOS) by beagle3 on Tuesday June 09, 2015 @01:25PM (#9687249)
Distinction without difference. These two components are essentially equivalent in scope.
Re:Bitcode (iOS, watchOS) by mamcx on Tuesday June 09, 2015 @11:59AM (#9686655)
Any resource in how look the TIMI bytecode? Could be usefull for a x86 interpreter?
Re:Bitcode (iOS, watchOS) by pjmlp on Wednesday June 10, 2015 @03:25PM (#9694678)
There isn't much available. IBM doesn't disclose much about it.

However here are some links about OS/400, nowadays known as System i.

http://koeln.ccc.de/ablage/as400/as400concepts.xml

http://de.slideshare.net/tvlooy/introduction-to-the-ibm-as40...

A story about the two times TIMI actually changed:

http://www.itjungle.com/tfh/tfh082007-story01.html

Some Redbooks about ILE, which sits on top of TIMI

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415...

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415...

All of them can be found at

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/rzaqhindex...