有没有c到字节码的编译器?

发布于 2024-11-26 15:53:23 字数 100 浏览 2 评论 0原文

它们有多完整?
有什么基准吗?
它们中的任何一个曾经流行过吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只是我以为 2024-12-03 15:53:23

有点历史答案,但最著名的 Pascal 编译器之一 - UCSD Pascal 完全基于围绕解释/模拟的“P-code”系统,该系统由 James Gosling 对 Java VM 和字节码的主要影响

“然后快进很多年,当我试图做的时候
Java 就是从这个项目中诞生的,”Gosling 在接受 ACM 采访时说道
队列。 “我必须采用这种架构中立的分发格式,并且
然后我就去嘉庆了!你知道,这个 p 代码翻译器的东西
实际上会掉在那里。”

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:

"Then fast-forward a bunch of years, when I was trying to do the
project that Java came out of," said Gosling in an interview for ACM
Queue. "I had to do this architecture-neutral distribution format, and
then I just went ka-ching! You know, this p-code translator thing
would actually just drop in there."

情痴 2024-12-03 15:53:23

如果通过字节码,您指的是任何 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文