Compiler to translate Java bytecode to platform-independent C code before runtime?

后端 未结 7 1978
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-28 10:40

I\'m looking for a compiler to translate Java bytecode to platform-independent C code before runtime (Ahead-of-Time compilation).

I should then be able to use a sta

相关标签:
7条回答
  • 2020-12-28 11:32
    • https://github.com/badlogic/jack -- Java to C++ transpiler, ignores memory model and other stuff, uses Boehm GC for extra slowness and GC pauses

      The license is unclear to me.

    • http://ptolemy.eecs.berkeley.edu/publications/papers/03/java-2-C/ -- A Retargetable Optimizing Java-to-C Compiler for Embedded Systems

      A paper, not sure whether the program is available.

    (I've been googling for this stuff, this is how I came to this question at SO.)

    0 讨论(0)
提交回复
热议问题