Re: No call for Ada (was Re: Announcing new scripting/prototyping language)

From: Josh Sebastian (curien_at_cox.net)
Date: 02/08/04


Date: Sun, 08 Feb 2004 14:06:11 -0500

On Sun, 08 Feb 2004 19:02:02 +0100, Martin Krischik wrote:

> Josh Sebastian wrote:
>
>> On Sun, 08 Feb 2004 14:05:53 +0100, Martin Krischik wrote:
>>
>> Factoid: Alex Stepanov started off his research that led to the STL in
>> Ada.
>
> I am not quite shure what you want to say.

I was saying that the STL started off in Ada before it was moved to (and
completed in) C++. I wasn't disagreeing with you (yet :).

>>> Ada templates are far more powerfull then C++.
>>
>> Why do you say that? I haven't used Ada terribly much, but from what I
>> remember, I don't think Ada generics are Turing-complete, which C++
>> templates are.
>
> Well I have used C++ for 10 years and Ada for just 1 year - I can express my
> will better with Ada generics then with C++ templates.

Maybe you just weren't very good at C++ templates. I don't mean to be
insulting, but personal preferences do play a huge roll here. Unless
someone can prove Ada's generics are Turing-complete, though (a quick
google doesn't turn up anything), I'd say that we'll have to call C++
templates more powerful.

Josh



Relevant Pages

  • Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada)
    ... the evidence I find is that these Ada features meet programmers' ... with templates is almost never used. ... > specification of low-level features in e.g. multiprocessor environments. ... I think portable concurrent or distributed programming is a paradigm ...
    (comp.lang.ada)
  • Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada)
    ... the evidence I find is that these Ada features meet programmers' ... with templates is almost never used. ... > specification of low-level features in e.g. multiprocessor environments. ... I think portable concurrent or distributed programming is a paradigm ...
    (comp.lang.cpp)
  • Re: why learn C?
    ... The power of C++ templates has enabled me to write ... a way which is not possible in Ada. ... I have written efficient type-safe application code ... modeled as piecewise constant functions of time, ...
    (comp.lang.ada)
  • Re: why learn C?
    ... C++ templates ARE MORE POWERFUL ... The discussion was about compile-time type safety, ... thorough compile type checking than is possible in Ada. ... The principle design goal of Ada is for a language that supports the ...
    (comp.lang.ada)
  • Re: The languages Perl, Java, C++, and Ruby and interview strategies
    ... Both languages have some things that the other can't do. ... If you're interested in what C++ can't do as easily as Ada, ... but Fortran is ... As to C++ templates, they are excessively and unnecessarily complicated. ...
    (comp.programming)