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

From: Martin Krischik (krischik_at_users.sourceforge.net)
Date: 02/08/04


Date: Sun, 08 Feb 2004 19:02:02 +0100

Josh Sebastian wrote:

> On Sun, 08 Feb 2004 14:05:53 +0100, Martin Krischik wrote:
>
>> MSG wrote:
>>
>>> Can you do the following in Ada:
>>>
>>> 1. Write *one* bubble-sort function that will work on different
>>> types given an appropriate comparison function
>>
>> Shure you can. Ada invented templates long bevore C++ was even though of.
>
> Factoid: Alex Stepanov started off his research that led to the STL in
> Ada.

I am not quite shure what you want to say. As far as I know generics had
been part of Ada 83. But of course without some STL.

>> 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.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com


Relevant Pages

  • Re: why learn C?
    ... code in a way that Ada generics do not. ... Please give an example of one case where a C++ template gives more compile ... C++ templates ARE MORE POWERFUL ...
    (comp.lang.ada)
  • Re: Nette Features in C# 3.0
    ... > Du machst aber Aussagen zu generellen Performance-Problemen von OOP an ... Ada Bibliothek C++ um Templates aufgebohrt (also funktionale Programmierung ... ala Lisp eingeführt) und darin die STL gebaut. ...
    (de.comp.lang.misc)
  • Re: Standard Library Interest? (The Big Player ACT)
    ... That's why I've been suggesting that to get a good, Conventional Ada ... However, being "modelled principally on the C++ STL", ... And aren't there extensive reports about the Booch components? ... Booch components aren't lightyears away from MS libraries, ...
    (comp.lang.ada)
  • Re: Dynamically tagged expression required
    ... >> compared to the STL. ... > and in Ada you say: ... Pointer arithmetic is low-level in my eyes. ... The OCL rather tries to mimic a simple database. ...
    (comp.lang.ada)
  • Re: No call for Ada (was Re: Announcing new scripting/prototyping language)
    ... been part of Ada 83. ... But of course without some STL. ... will better with Ada generics then with C++ templates. ...
    (comp.lang.ada)