comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Ada & MacOS
Date: Wed, 08 Feb 2006 08:35:29 +0100
Date: 2006-02-08T08:35:29+01:00	[thread overview]
Message-ID: <43E99F41.6040506@mailinator.com> (raw)
In-Reply-To: <qNeGf.11242$1n4.2857@newsread2.news.pas.earthlink.net>

Jeffrey R. Carter wrote:
> Maciej Sobczak wrote:

>> I'm writing this from Mozilla, written in C++, running happily on most 
>> desktop platforms you can find today. Have Mozilla been written in 
>> Ada, it wouldn't be much more portable.
> 
> 
> Interesting that you mention Mozilla. Take a look at their rules for 
> writing C++ for the project:
> 
> http://www.mozilla.org/hacking/portable-cpp.html
> 
> Lots of things you can't use, including no templates (a few exceptions), 
> no exceptions, no namespaces. That's for contributing to Mozilla today, 
> because so many of the compilers used to build Mozilla for various 
> platforms today don't support these basic features of the language.

An interesting quote from the link is "But this is the reality of 
portable code" (which obviously must be understood as the reality of 
portable "C++").

One of the things that triggered my interest in Ada in my college days 
was that I had to work in a HP-UX at the labs, but could also work in my 
home linux (we also had meridian Ada for ms-dos in another lab). And 
never had an issue with portability. A different beast was trying to use 
the HP-UX CC and linux gcc at the same time. I remember special fun with 
templates, which have the extra amusing property of triggering dozens of 
errors but only at link time. (Really, how I hate link time errors.)



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