什么是字节码和位码的区别[复制](What are the difference between b

2019-09-17 01:34发布

可能重复:
什么是LLVM和Java字节码之间的差异?

例如,在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位码,有没有更具体的例子吗?

Answer 1:

从LLVM邮件列表 :

格式是字面上的比特流,而不是一个字节流。 请参阅本文档的详细信息: http://llvm.org/docs/BitCodeFormat.html



文章来源: What are the difference between byte code and bit code [duplicate]