From: napi@axiomsol.com
Subject: Re: C to JVM, time to revive JGNAT?
Date: 9 Aug 2006 19:53:32 -0700
Date: 2006-08-09T19:53:32-07:00 [thread overview]
Message-ID: <1155178411.944408.186560@i3g2000cwc.googlegroups.com> (raw)
In-Reply-To: 20060809124902.O84175@docenti.ing.unipi.it
Hi:
Colin Paul Gloster wrote:
> On Wed, 9 Aug 2006, Dmitry A. Kazakov wrote:
>
> "AMPC (Axiomatic Multi-Platform C):
>
> http://www.axiomsol.com/
> "
>
> From the homepage of Axiomatic Solutions:
>
> "If you write Java code, you can write once and run anywhere!"
>
> and
>
> "I write C code, and with AMPC I can write once and run anywhere!"
>
> and
>
> "The best and easiest way to convert C programs to standard Java
> bytecodes (classes) is AMPC from Axiomatic Solutions"
>
> yet AMPC is released only as versions depending on a specific platform, so
> will not even run on all Java platforms. If platform independence is not
> good enough to distribute AMPC, why is it good enough for AMPC's users?
The compiler/IDE itself comes in three versions (Linux, Mac OSX, and MS
Windows), but the generated code (.class files) should be able to run
on any properly installed JVM/JRE. In other words, AMPC is a
cross-compiler suite whose development platforms are Linux, Mac OSX,
and MS Windows, all targeting the platform-independent JVM.
> Also, from WWW.AxiomSol.com/pro_serv/compiler.php :
>
> "[..]
>
> AMPC allows users to develop software using the standard C programming
> language [..]
>
> [..]
>
> AMPC covers a very large subset of ANSI C (1989). A notable difference is
> that "double" in AMPC is 32 bits long. In order to utilize 64-bit
> floating point you can use "DOUBLE".
>
> [..]"
>
> So though AMPC is described as standard in one part of the documentation,
> it is not standard and someone's interpretation of what the C standard
> even is seems to be amiss.
The ANSI C standard does not specify the size of scalar variables since
there are various CPU architectures out there from 8 bits to 64 bits,
etc. So, making "double" to be 32 bits or even 16 bits is still
conformant to the ANSI C standard, although abnormal. AMPC actually
supports 64 bit floating point by means of the type DOUBLE.
Regards.
Napi
next prev parent reply other threads:[~2006-08-10 2:53 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-09 8:11 C to JVM, time to revive JGNAT? Dmitry A. Kazakov
2006-08-09 9:48 ` Jean-Pierre Rosen
2006-08-09 10:15 ` Georg Bauhaus
2006-08-09 10:59 ` Colin Paul Gloster
2006-08-09 16:01 ` Martin Krischik
2006-08-10 7:18 ` Maciej Sobczak
2006-08-10 10:08 ` Martin Krischik
2006-08-09 22:39 ` Björn Persson
2006-08-09 23:58 ` Georg Bauhaus
2006-08-10 22:31 ` Björn Persson
2006-08-11 9:51 ` Georg Bauhaus
2006-08-10 7:10 ` Maciej Sobczak
2006-08-10 19:38 ` Simon Wright
2006-08-10 21:55 ` Björn Persson
2006-08-11 7:54 ` Martin Krischik
2006-08-11 8:04 ` Maciej Sobczak
2006-08-11 9:00 ` Dmitry A. Kazakov
2006-08-14 7:09 ` Maciej Sobczak
2006-08-14 8:01 ` Dmitry A. Kazakov
2006-08-14 9:33 ` Maciej Sobczak
2006-08-14 11:47 ` Dmitry A. Kazakov
2006-08-21 6:04 ` Dave Thompson
2006-08-10 2:53 ` napi [this message]
2006-08-10 10:43 ` Colin Paul Gloster
2006-08-10 11:14 ` Martin Krischik
2006-08-21 6:04 ` Dave Thompson
2006-08-09 16:01 ` Martin Krischik
2006-08-09 18:13 ` Dmitry A. Kazakov
2006-08-10 10:11 ` Martin Krischik
2006-08-10 13:26 ` Dmitry A. Kazakov
2006-08-10 17:07 ` Martin Krischik
2006-08-10 19:18 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox