comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: Ada & MacOS
Date: Thu, 09 Feb 2006 15:52:11 +0100
Date: 2006-02-09T15:52:11+01:00	[thread overview]
Message-ID: <dsfkur$s0q$1@sunnews.cern.ch> (raw)
In-Reply-To: <qNeGf.11242$1n4.2857@newsread2.news.pas.earthlink.net>

Jeffrey R. Carter wrote:

> 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

That's interesting, especially taking into account that all of the 
platforms for which they provide downloadable binaries can be targeted 
with just two or three recent versions of GCC. Plus VC++ for Windows.
All of these compilers support the forbidden features. I cannot comment 
on these rules, because I don't really know when they were last updated 
and what is the actual list of compilers that they use.

It might be also good to point out one thing - different projects (or 
even application areas) impose different guidelines and restrictions on 
the set of allowed language features, even without taking the 
portability under consideration, sometimes just to retain some given 
style or control over the design - when the language is powerful enough, 
it might turn out to be too powerful. Such guidelines and restrictions 
are in use *also* with Ada - Ravenscar is a good example - but nobody 
will claim here that Ada is a bad language. In general, the fact that 
some project (company, application area, etc.) uses any given set of 
restrictions does not indicate that the language is broken.


>> BTW - why do you write "C++" in question marks, and Ada without them?
> 
> C++ is an ISO standard; anything that isn't the language defined in that 
> standard isn't C++. Lots of people use the name "C++" to refer to things 
> that aren't C++; I use "C++" to refer to such things.

OK, I see. I understand then, that the code which is fully 
standard-compliant can be called C++ even if it's compiled with the 
compiler that does not support 100% of the standard? I call my code C++ 
then.

> By the way, '"' is a quotation mark; '?' is a question mark.

Sure. Mindless typo. :)


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



  parent reply	other threads:[~2006-02-09 14:52 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
2006-02-09 14:52                   ` Maciej Sobczak [this message]
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