comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Krischik" <krischik@users.sourceforge.net>
Subject: Re: C to JVM, time to revive JGNAT?
Date: Fri, 11 Aug 2006 10:54:06 +0300
Date: 2006-08-11T10:54:06+03:00	[thread overview]
Message-ID: <op.td3z8gbdz25lew@super> (raw)
In-Reply-To: iXNCg.12548$E02.4627@newsb.telia.net

Am 11.08.2006, 00:55 Uhr, schrieb Björn Persson <spam-away@nowhere.nil>:

> Maciej Sobczak wrote:
>> Björn Persson wrote:
>>> And if you write standard Ada code you can also write once and run  
>>> anywhere.
>>  Which is true also about standard C:
>>  #include <stdio.h>
>> int main()
>> {
>>     puts("Hello");
>>     return 0;
>> }
>
> Is that the most interesting program you can write in standard C? ;-)
>
> As a quick example of a non-portable aspect of standard C, let's say I  
> need to represent natural numbers from 1 to 1000000. Which data type  
> should I use to ensure that the program will be portable to all  
> platforms that can handle these numbers? In C 99 there is *finally* a  
> set of portable integer types. Can I count on those being available in  
> all compilers?

No. It took me just a quarter of an hour to create a stdtype.h for MSC yet  
Microsoft programmers se no need to create one. Ok the MS programmers  
can't just copy the version from GCC but I don't think writing from  
scratch would take more then an hour. Still no avail.

Martin

-- 
Martin Krischik
krischik@users.sourceforge.net



  reply	other threads:[~2006-08-11  7:54 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 [this message]
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
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