comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: Ada & MacOS
Date: Mon, 06 Feb 2006 09:20:44 +0100
Date: 2006-02-06T09:20:44+01:00	[thread overview]
Message-ID: <ds70ss$onv$1@sunnews.cern.ch> (raw)
In-Reply-To: <1289921.BRApYLEfLn@linux1.krischik.com>

Martin Krischik wrote:

>>OK but how with the compatibility of code compiled on Gnat that is part
>>of GCC between MacOS, Windows and Linux ?
> 
> It's Ada not C or C++. Ada compilers obey and not ignore the ISO standart.
> Ada compilers come without a 10 page list of ISO standart features not yet
> and probably never to be implemented. Ada does not only have an ISO
> standart - it also has an ISO standart test suite. BTW: The only
> programming language with an official standart test suite.
> 
> Ada is most likely the most compatible programming language in existence
> that compiles into binary code.

Of course, not counting "features" of different compilers, right? If you 
say "Ada compiler", then is GNAT a good example? Doesn't it have any 
"features" that can affect compilability/behaviour of some code?

The words "compiler bug" appear in comp.lang.ada archive, don't they?

In the same way, C++ guys can say that C++ is an incredibly portable 
language, with compilers existing for almost every piece of silicon in 
existence. Well, except of some compiler "features" that spoil the 
picture, of course.


> That's for theory, in pratice: I have used Ada with OS/2, MS-Windows, Linux,
> OpenVMS and the tendency is:  if it runs in one OS it will run on any other
> as well. Well: unless you use OS specific features or grab deep down into
> the System packages.

Same for C++. One of the users of my recent code (non-trivial, I would 
say) compiled it on MacOS by typing "make", even though I've never 
touched Mac. So?

Granted, the fact that Ada has a standard test suite is a Very Good 
Thing, really. The lack of such test suite for C++ allowed various 
vendors to put big "C++" letters on whatever shi^H^H^H product they 
wanted to sell over the last decade or so and that's the cause for the 
C++ landscape to look so messy today. But don't present it to be 
entirely hopeless, because it isn't.


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



  parent reply	other threads:[~2006-02-06  8:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 10:53 Ada & MacOS sg
2006-02-02 14:48 ` Alex R. Mosteo
2006-02-02 17:13 ` Martin Krischik
2006-02-02 19:37   ` sg
2006-02-02 21:30     ` Björn Persson
2006-02-02 23:17       ` sg
2006-02-03  7:32         ` Jean-Pierre Rosen
2006-02-03 19:38           ` Jeffrey R. Carter
2006-02-06 10:15             ` Jean-Pierre Rosen
2006-02-03 16:27         ` Martin Krischik
2006-02-03 19:43           ` Jeffrey R. Carter
2006-02-04  7:04             ` Martin Krischik
2006-02-04 14:32               ` Georg Bauhaus
2006-02-06  8:20           ` Maciej Sobczak [this message]
2006-02-06 18:48             ` Jeffrey R. Carter
2006-02-06 20:44               ` Hyman Rosen
2006-02-07  9:10               ` Maciej Sobczak
2006-02-07 16:16                 ` Martin Krischik
2006-02-08  4:51                 ` Jeffrey R. Carter
2006-02-08  7:35                   ` Alex R. Mosteo
2006-02-09 14:52                   ` Maciej Sobczak
2006-02-06 19:25             ` Martin Krischik
2006-02-06 20:34               ` Hyman Rosen
2006-02-07 16:13                 ` Martin Krischik
2006-02-03 23:55         ` Simon Williams
2006-02-04 16:22 ` Adrian Hoe
2006-02-04 16:25 ` Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox