有没有c到字节码的编译器?
它们有多完整?
有什么基准吗?
它们中的任何一个曾经流行过吗?
PS 还有其他非垃圾收集语言拥有和/或拥有字节码编译器(例如 pascal)吗?
How complete are they?
any benchmarks?
Were any of them ever popular?
P.S. are there any other non garbage collected languages that have and/or had bytecode compilers(ex pascal)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有点历史答案,但最著名的 Pascal 编译器之一 - UCSD Pascal 完全基于围绕解释/模拟的“P-code”系统,该系统由 James Gosling 对 Java VM 和字节码的主要影响:
Bit of a historical answer, but one of the best-known Pascal Compilers - UCSD Pascal was based entirely around an interpreted/emulated "P-code" system, which is cited by James Gosling as a major influence on Java VM and bytecode:
如果通过字节码,您指的是任何 C 虚拟机:
有 UEFI 标准,它提供了 C 虚拟机,并且至少是英特尔EFI 编译器它的早期版本。
不是字节码,而是 CInt 定义 C 代码的解释器。
If by bytecode, you mean any C Virtual Machine:
There's the UEFI standard, which offers a C virtual machine, and at least the Intel EFI compiler for earlier versions of it.
Not bytecode, but CInt defines an interpreter for C code.