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

后端 未结 7 2039
佛祖请我去吃肉
佛祖请我去吃肉 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.)

提交回复
热议问题