我们可以在硬件中实现一个java解释器本地执行Java字节码吗? [英] can we implement a java interpreter in hardware that executes Java bytecodes natively?

查看:254
本文介绍了我们可以在硬件中实现一个java解释器本地执行Java字节码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们在硬件中实现java解释器那么我们如何才能实现java字节码的体系结构中立性...
java是否使用JIT(只是在时间解释器中)?
以及所有这些与虚拟机概念的操作系统和java虚拟机(JVM)的关系

if we implement java interpreter in hardware then how we can achieve architecture neutrality of java bytecode... does java uses JIT(just in time interpreter) ? and how all this is related to Virtual Machine concept of operating system and java virtual machine(JVM)

推荐答案

已经有几个Java系统的硬件实现(即一个可以执行字节码的CPU),但它们还没有成为主流。这很可能是因为随着CPU变得越来越快,软件实现也表现得更好甚至更好。

There has already been several hardware implementations of the Java system (i.e. a CPU that can execute bytecodes) but they have not become mainstream. This is most likely because that software implementations perform as well or even better as CPU's have become faster and faster.

正如您在调查更多时所发现的那样,详细信息JVM实现并不重要(并且变化很大)但它们都执行JVM的机器语言--java字节代码。如果你留在Java世界中并且没有链接本地的东西,你应该没有任何你选择的实现。

As you will find when investigating more thouroughly, the details of the JVM implementations are not that important (and vary quite a bit) but they all execute the machine language of the JVM - java byte code. If you stay within the Java world and do not link in "native" stuff, you should be fine with whatever implementation you choose.

这家公司以提供服务器为生。调整为Java程序的系统,他们可能会对您感兴趣: http://www.azulsystems.com/

This company makes a living of providing server systems tuned for Java programs, they might interest you: http://www.azulsystems.com/

这篇关于我们可以在硬件中实现一个java解释器本地执行Java字节码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆