Re:JEP 295: Ahead-of-Time Compilation
by jerven on Friday October 28, 2016 @01:55AM
(#12813453)
Are there any that support the current class file format? ARM jazelle is no longer being worked on. So I would be surprised if there is anything that can do Java SE directly. JavaCard of course being quite different than standard Java.
[ Parent
| on HN ]
Re:JEP 295: Ahead-of-Time Compilation
by imtringued on Friday October 28, 2016 @05:20AM
(#12814256)
Java bytecode is too highlevel for it to be suitable to run directly on hardware. Each instruction can map to multiple machine instructions. A JIT or AOT compiler can optimize the code on a lower level. A hardware implementation cannot do inlining, loop unrolling, hoist array length checks out of a loop, etc...