How can a JVM be written in Java

后端 未结 10 650
再見小時候
再見小時候 2020-12-13 09:10

I was briefly reading about Maxine which is an open source JVM implementation that written in Java. This sounds circular to me. If java requires a virtual machine to run i

10条回答
  •  -上瘾入骨i
    2020-12-13 09:36

    Here is a good paper on bootstraping a self-hosted VM. It's not Java, but javascript, but the principles are the same.

    Bootstrapping a self-hosted research virtual machine for JavaScript: an experience report

    Note that while bootstraping a self-host compiler and bootstraping a self-hosted VM are somewhat similar, I believe they do not raise the exact same challenges.

提交回复
热议问题