Can C/C++ software be compiled into bytecode for later execution? (Architecture independent unix software.)

前端 未结 6 910
失恋的感觉
失恋的感觉 2021-02-04 17:34

I would want to compile existing software into presentation that can later be run on different architectures (and OS).

For that I need a (byte)code that can be easily ru

6条回答
  •  情歌与酒
    2021-02-04 18:03

    C compiled to LLVM bit code is not platform independent. Have a look at Google portable native client, they are trying to address that.

    Adobe has alchemy which will let you compile C to flash.

    There are C to Java or even JavaScript compilers. However, due to differences in memory management, they aren't very usable.

提交回复
热议问题