Topic: Experimental compiler [Was : Fast tracked features]


Author: Michiel.Salters@logicacmg.com (Michiel Salters)
Date: Fri, 4 Jun 2004 16:07:25 +0000 (UTC)
Raw View
kuyper@wizard.net (James Kuyper) wrote in message news:<8b42afac.0406031336.26aa7ef3@posting.google.com>...
> Lo   c Joly <loic.actarus.joly@wanadoo.fr> wrote in message news:<c9l73m$1dv$1@news-reader5.wanadoo.fr>...
> ..
> > So, here come my question : Does anyone have another contender ? What I
> > look for is :
>  ..
> > - A compiler written in C++, and in "good" C++
>  ..
> > - A compiler that does not care too much about exotic platforms (even if
> > at least two supported platform seems a minimum)
>
> Those two requirements are in conflict, as far as I'm concerned.
> "good" C++  code produces correct results even on exotic platforms.

No, they're absolutely not. The restriction on not supporting exotic
platforms refers to the output. A compiler basically produces machine
code. If a C++ compiler for x86 is written in perfectly portable
C++, you could turn it trivially into a cross-compiler, but targetting
the PowerPC is non-trivial.

This is probably most relevant when it comes to exception-handling.
Quite a few important topics like register-handling are only relevant
when it comes to production-performance.

Regards,
Michiel Salters

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: dave@boost-consulting.com (David Abrahams)
Date: Sat, 5 Jun 2004 17:11:47 +0000 (UTC)
Raw View
Lo   c Joly <loic.actarus.joly@wanadoo.fr> wrote in message news:<c9l73m$1dv$1@news-reader5.wanadoo.fr>...


> Even if its GNU status make it really available, it is a production
> compiler, and as such, it has to tackle many elements unnecessary for
> experimentation. Several programming languages, a very wide range of
> supported OS, a source code in C (I don't know why), a CVS process
> designed for stability, an optimized compilation process...
>
> So, here come my question : Does anyone have another contender ? What I
> look for is :
> - A compiler not micro optimised
> - A compiler written in C++, and in "good" C++
> - A compiler with source code available
> - A compiler that does not care too much about exotic platforms (even if
> at least two supported platform seems a minimum)
>
>
> Does this compiler exist ?

I don't think so.  There are projects like OpenC++ that are in the
same ballpark.  I think for most purposes a compiler that produced C
(or even C++) code would make a fine platform for such
experimentation.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: =?ISO-8859-15?Q?Lo=EFc_Joly?= <loic.actarus.joly@wanadoo.fr>
Date: 2 Jun 2004 19:10:08 GMT
Raw View
Niall Douglas wrote:

[snip]
> If one were to patch in support to a major compiler - GCC is handy -
[snip]

It seems from various discussion that gcc is often considered as the
platform of choice to experiment with the C++ core language. I do not
think so.

Even if its GNU status make it really available, it is a production
compiler, and as such, it has to tackle many elements unnecessary for
experimentation. Several programming languages, a very wide range of
supported OS, a source code in C (I don't know why), a CVS process
designed for stability, an optimized compilation process...

So, here come my question : Does anyone have another contender ? What I
look for is :
- A compiler not micro optimised
- A compiler written in C++, and in "good" C++
- A compiler with source code available
- A compiler that does not care too much about exotic platforms (even if
at least two supported platform seems a minimum)


Does this compiler exist ?

--
Lo   c

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: j_richter@gmx.de (Joerg Richter)
Date: Thu, 3 Jun 2004 17:28:51 +0000 (UTC)
Raw View
> Does this compiler exist ?

Perhaps LLVM has something in common what you are looking for.
http://llvm.cs.uiuc.edu/

   Joerg

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: eric_backus@alum.mit.edu ("Eric Backus")
Date: Thu, 3 Jun 2004 20:17:21 +0000 (UTC)
Raw View
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D MODERATOR'S COMMENT:=20

This thread began as a discussion of how to develop proof-of-concept=20
implementations for proposed features.  That's certainly relevant for=20
C++ standardization, and it's certainly relevant to talk about which=20
compilers might make suitable testbeds.  However, it's also easy for=20
this thread to spin off into directions that aren't so directly=20
relevant to standardization.  Let's try to do the former and not the=20
latter.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D END OF MODERATOR'S COMMENT
"Lo=EFc Joly" <loic.actarus.joly@wanadoo.fr> wrote in message
news:c9l73m$1dv$1@news-reader5.wanadoo.fr...
> Even if its GNU status make it really available, it is a production
> compiler, and as such, it has to tackle many elements unnecessary for
> experimentation. Several programming languages, a very wide range of
> supported OS, a source code in C (I don't know why),

Perhaps having the source code in C makes it easier to bootstrap on unusu=
al
platforms?  In any case, I'd guess that C++ wasn't very stable when GCC w=
as
first developed.

--=20
Eric

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: kuyper@wizard.net (James Kuyper)
Date: Thu, 3 Jun 2004 21:49:45 +0000 (UTC)
Raw View
Lo   c Joly <loic.actarus.joly@wanadoo.fr> wrote in message news:<c9l73m$1dv$1@news-reader5.wanadoo.fr>...
..
> So, here come my question : Does anyone have another contender ? What I
> look for is :
..
> - A compiler written in C++, and in "good" C++
..
> - A compiler that does not care too much about exotic platforms (even if
> at least two supported platform seems a minimum)

Those two requirements are in conflict, as far as I'm concerned.
"good" C++  code produces correct results even on exotic platforms.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]