主题:C到JVM编译器(AMPC) [英] Subject: C to JVM compiler (AMPC)

查看:133
本文介绍了主题:C到JVM编译器(AMPC)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Axiomatic Solutions Sdn Bhd宣布推出AMPC版本1.2。

您现在可以在线购买AMPC:
http://www.axiomsol.com/hedesu/shopping/index.php


主要变更

-------------

版本1.2支持MS Windows XP平台,除了Linux x86和

Mac OSX。它还支持DOUBLE浮点类型。有关DOUBLE浮点类型的详细信息,请参阅

README文件。


(生成Java字节码)。生成的.class可执行文件将是

能够在任何Java虚拟机(tm)上运行。 AMPC使程序员能够使用针对JVM的C编写/移植应用程序,从而打开了一个全新的市场维度,相对于支持JVM的设备,例如:桌面

系统,PDA,手机,游戏机,机顶盒,汽车系统

(基于GPS的显示器,OnStar,卫星无线电系统等),以及所以。

AMPC还可用于将用C语言编写的遗留应用程序转换为JVM

应用程序,并提供单一的源代码库来管理。使用现有的C技能集

而不是学习新的Java技能集。


AMPC包括图形用户界面(GUI)作为集成的一部分>
用于快速有序软件的开发环境(IDE)

开发。


AMPC基于美国国家标准协会C(ANSI C) ),

X3.159-1989。但是,AMPC和完全兼容的ANSI C编译器之间存在一些差异。在AMPC的产品说明中描述了AMPC与完全符合
的ANSI C编译器的不同之处。


JNI(JVM Native Interface)支持可用为了

从AMPC调用本机C或C ++函数。


AMPC还可以使用
$为Jasmin汇编程序生成汇编代码b $ b asm()指令。


它也可以使用INT_java()函数调用大多数Java类,

FLOAT_java(),DOUBLE_java(),等等。


硬件要求:

- 任何运行MS Windows XP的x86兼容计算机

- 任何运行Linux的x86兼容计算机

- 最低128MB RAM


软件要求:

- Java SDK 1.4.2或更新版本(建议使用JDK 1.5)。


有关AMPC的更多信息,请访问 http://www.axiomso l.com


谢谢你,最诚挚的问候。


-

Axiomatic Solutions Sdn有限公司
http://www.axiomsol.com


-
http://www.axiomsol.com
http://www.cs.indiana.edu /hyplan/napi.html

Axiomatic Solutions Sdn Bhd announces the availability of AMPC version 1.2.
You can purchase AMPC online now at:
http://www.axiomsol.com/hedesu/shopping/index.php

Major Changes
-------------
Version 1.2 supports the MS Windows XP platform, beside Linux x86 and
Mac OSX. It also supports the DOUBLE floating point type. Please see the
README file for details on DOUBLE floating point type.

AMPC (Axiomatic Multi-Platform C) is a C compiler/IDE targeting the JVM
(generates Java Bytecode). The resulting .class executables will be
able to run on any Java Virtual Machine (tm). AMPC enables programmers
to write/port applications using C targeting the JVM, thus, opening up a
whole new market dimension vis-a-vis JVM-enabled devices such as desktop
systems, PDAs, cell-phones, game consoles, set-top boxes, automotive systems
(GPS based displays, OnStar, Satellite radio systems, etc), and so forth.
AMPC can also be used to turn legacy applications written in C into JVM
applications, with a single source base to manage. Use existing C skill sets
instead of learning new Java skill sets.

AMPC includes a Graphical User Interface (GUI) as part of the Integrated
Development Environment (IDE) for fast and organized software
development.

AMPC is based upon the American National Standards Institute C (ANSI C),
X3.159-1989. There are however a few differences between AMPC and a
fully compliant ANSI C compiler. The differences of AMPC with a fully
compliant ANSI C compiler are described in AMPC''s product description.

JNI (JVM Native Interface) support is available for the purpose of
calling native C or C++ functions from AMPC.

AMPC can also generate assembly code for the Jasmin assembler using the
asm() directive.

It also can call most Java classes using the functions INT_java(),
FLOAT_java(), DOUBLE_java(), and so forth.

Hardware Requirements:
- Any x86 compatible computer running MS Windows XP
- Any Macintosh computer running Mac OSX
- Any x86 compatible computer running Linux
- 128MB RAM minimum

Software Requirements:
- Java SDK 1.4.2 or newer (JDK 1.5 recommended).

More info on AMPC can be found at http://www.axiomsol.com

Thank you and best regards.

--
Axiomatic Solutions Sdn Bhd
http://www.axiomsol.com

--
http://www.axiomsol.com
http://www.cs.indiana.edu/hyplan/napi.html

推荐答案

Mohd Hanafiah Abdullah写道:
Mohd Hanafiah Abdullah wrote:
AMPC( Axiomatic Multi-Platform C)是一个针对JVM的C编译器/ IDE(生成Java字节码)。
AMPC (Axiomatic Multi-Platform C) is a C compiler/IDE targeting the JVM
(generates Java Bytecode).




C是一种过程语言,就其而言我知道JVM是一个OO框架。 C代码怎样才能创建类定义,继承,使用对象等?您可以使用JVM工具在C中提供一个问候世界吗?


-

Ioannis Vranos
http://www23.brinkster.com/noicys


Ioannis Vranos写道:
Ioannis Vranos wrote:
C是一种过程语言,据我所知,JVM是一个OO
框架。 C代码如何创建类定义,继承,使用对象等?你可以使用JVM工具在C中提供一个hello world示例吗?
C is a procedural language and as far as I know JVM is an OO framework. How can C code create class definitions, inheritance, use objects etc? May you provide a hello world example in C by using the JVM facilities?




这很容易。仅使用Java中的静态函数。困难的事情(无法直接达到
)是将低级函数(memmove,

....)映射到Java。


RC



This is easy. Use only static functions in Java. The hard thing (which
cannot be reached directly) is to map the low level functions (memmove,
....) to Java.

R.C.


Rapscallion写道:
Rapscallion wrote:
这很容易。仅使用Java中的静态函数。困难的事情(无法直接到达)是将低级函数(memmove,
...)映射到Java。
This is easy. Use only static functions in Java. The hard thing (which
cannot be reached directly) is to map the low level functions (memmove,
...) to Java.




我没有JVM经验,但我有.NET经验,这是一个CLI VM平台。


在.NET中,在大多数(可能是所有)情况下,静态方法更多运行 - 时间比

通常用于执行相同操作的方法一样昂贵,并且仅用于执行某些操作

(与初始调用具有相同的成本)

类对象的等效方法)因为创建一个类的对象来做某事是没有意义的

只有一次 - 一个例子是一个文件操作 - 或线程安全(相同的资源是由多个线程共享的
,因此需要额外的检查和锁定)或其他原因。

此外,许多静态方法都会自行返回对象。


我想这些也是JVM的情况。那么C代码如何处理静态/非静态方法的返回

对象?

memmove等更适用于本机代码而不是VM代码。


-

Ioannis Vranos

http://www23.brinkster.com/noicys


这篇关于主题:C到JVM编译器(AMPC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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