是否存在任何CVM [C虚拟机]? [英] Does any CVM [ C virtual Machine] exist?

查看:92
本文介绍了是否存在任何CVM [C虚拟机]?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我只是想知道有太多人选择

使用


这样的语言,因为它的架构独立性,这个AI <
是实现
因为Java确实是这样一个平台,代码是

转换为

a字节代码和这个字节代码可以在任何具有

Java的机器上运行


现在安装了虚拟机或Java平台我的问题是

那不可能有一个C / b
虚拟机,它将运行C字节代码,其中C字节代码




的编译类型。和中间的代码才可以运行

任何


特定机器。这种方法有什么不妥之处吗?我实际上我们可以为每种语言配备一台虚拟机。

有没有人这样做过?b $ b猜测


如果有人这样做吗?


加为c.l.c,但我只是好奇。谢谢

-

Imanpreet Singh Arora

imanpreet_arora AT yahoo DOT co DOT in

Hi there everybody, I was just wondering that too many people choose
to use

language like Java because of its architecture independence, this AI
is

achieved because Java is as such a platform indeed, the code is
converted to

a byte code and this byte code can be run on any machine which has
Java

Virtual Machine or the Java Platform is installed, now my question is
that can''t there be a C

Virtual machine, which would run the C byte code, wherein C byte code
is the

sort of a "compiled" and "intermediate" code before it can be run on
any

particular machine. Are there any shorcomings in this approach? I
guess

practicaly we can have a Virtual machine for every language.
Has anybody done this? Should anybody do this?

OT for c.l.c but I was just curious. Thanks
--
Imanpreet Singh Arora
imanpreet_arora AT yahoo DOT co DOT in

What I can''t create I can''t understand -- Richard Feynman

推荐答案

我认为几乎任何你能想到的虚拟机如果你愿意的话,它可能会被贬低,而且它还没有存在。如果你认为它有b / b
,那里有很多虚拟机。仿真器。我的意思是,

他们将它们用于图形计算器,视频游戏系统,甚至是旧学校

家用计算机系统仿真器,它们都是虚拟机。


至于你的具体问题,没有我特别知道的,

,但这并不意味着一个不存在。


Nic

" Minti" < MI ************ @ yahoo.com>在留言中写道

新闻:e8 ************************** @ posting.google.c om ...
I would think that pretty much any virtual machine you can think of could be
implimented, if you wanted to and it didn''t already exist. If you think
about it, there are tons of virtual machines out there. Emulators. I mean,
they have them for graphing calculators, video game systems, even old school
home computer system emulators, they''re all virtual machines.

As for your specific question, there are none that I know of particularly,
but that certainly doesn''t not mean that one does not exist.

Nic
"Minti" <mi************@yahoo.com> wrote in message
news:e8**************************@posting.google.c om...
大家好,我只是想知道有太多人选择使用像Java这样的语言因为它的架构独立性,这个AI
实现是因为Java确实是这样一个平台,代码被转换为一个字节代码,这个字节代码可以在任何机器上运行已经安装了Java虚拟机或Java平台,现在我的问题是
不可能有一台虚拟机,它将运行C字节代码,其中C字节代码
是一种编译的字节代码。和中间的代码才可以运行
任何特定的机器。这种方法有什么不妥之处吗?我猜/

实际上我们可以为每种语言配备虚拟机。
有人这样做过吗?任何人都应该这样做吗?

OT为c.l.c,但我只是好奇。谢谢

-
Imanpreet Singh Arora
imanpreet_arora在yahoo DOT co DOT中

我无法创造的东西我无法理解 - Richard Feynman
Hi there everybody, I was just wondering that too many people choose
to use

language like Java because of its architecture independence, this AI
is

achieved because Java is as such a platform indeed, the code is
converted to

a byte code and this byte code can be run on any machine which has
Java

Virtual Machine or the Java Platform is installed, now my question is
that can''t there be a C

Virtual machine, which would run the C byte code, wherein C byte code
is the

sort of a "compiled" and "intermediate" code before it can be run on
any

particular machine. Are there any shorcomings in this approach? I
guess

practicaly we can have a Virtual machine for every language.
Has anybody done this? Should anybody do this?

OT for c.l.c but I was just curious. Thanks
--
Imanpreet Singh Arora
imanpreet_arora AT yahoo DOT co DOT in

What I can''t create I can''t understand -- Richard Feynman





" Minti" < MI ************ @ yahoo.com>在留言中写道

新闻:e8 ************************** @ posting.google.c om ...

"Minti" <mi************@yahoo.com> wrote in message
news:e8**************************@posting.google.c om...
大家好,我只是想知道有太多人选择使用

[snip]

实际上我们可以有适用于各种语言的虚拟机。
是否有人这样做过?任何人都应该这样做吗?

OT为c.l.c,但我只是好奇。谢谢
Hi there everybody, I was just wondering that too many people choose
to use
[snip]

practicaly we can have a Virtual machine for every language.
Has anybody done this? Should anybody do this?

OT for c.l.c but I was just curious. Thanks




是的,这是clc的OT。我做了一个谷歌搜索,发现


准时就意味着快速运行
http://www.devx.com/Intel/Article/6960


它对您有所帮助。


-

Jeff

-je6543来自yahoo.com



Yes, it is OT for clc. I did a google search and found

"Just-In-Time Means Run-It-Fast"
http://www.devx.com/Intel/Article/6960

It may be helpful for you.

--
Jeff
-je6543 at yahoo.com


在comp.programming Minti< mi ************ @ yahoo.com>写道:


< C虚拟机>


http:// www。 itee.uq.edu.au/~cristina/uqbt.html#gcc-jvm
http://found.cs.nyu.edu/meyer/jasmin
In comp.programming Minti <mi************@yahoo.com> wrote:

<C virtual machine>

See here for attempts to support JVM in compilers for other languages:

http://www.itee.uq.edu.au/~cristina/uqbt.html#gcc-jvm
http://found.cs.nyu.edu/meyer/jasmin


这篇关于是否存在任何CVM [C虚拟机]?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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