字节码和位码之间有什么区别

时间:2012-05-06 08:48:09

标签: java gcc compiler-construction llvm bytecode

  

可能重复:
  What are the differences between LLVM and java bytecode?

例如,在LLVM中,它说...

What is commonly known as the LLVM bitcode file format 
(also, sometimes anachronistically known as bytecode) is actually two things: 
a bitstream container format and an encoding of LLVM IR into the container 
format.

我只知道独立于平台的Java字节码,它可以由JVM运行

但对于LLVM位代码,还有更具体的例子吗?

1 个答案:

答案 0 :(得分:3)

来自LLVM mailing list

  

格式实际上是比特流,而不是字节流。看到这个   文档了解更多详情:http://llvm.org/docs/BitCodeFormat.html

相关问题