From: jsa@alexandria.organon.com (Jon S Anthony)
Subject: Re: Ada vs C++
Date: 1997/09/05
Date: 1997-09-05T00:00:00+00:00 [thread overview]
Message-ID: <JSA.97Sep5125221@alexandria.organon.com> (raw)
In-Reply-To: Pine.SGI.3.95.970904201703.13590A-100000@shellx.best.com
In article <Pine.SGI.3.95.970904201703.13590A-100000@shellx.best.com> Brian Rogoff <bpr@shellx.best.com> writes:
> > Ada may have advantages over C++, but only C++ allows these incredibly
> > powerful programming techniques. Unfortunately, the techniques are also
>
> I believe you can do all of this stuff with Common Lisp macros.
Actually, CL macros seem much more generally capable than C++
templates. For one thing, they aren't tied to the type system. For
another, they can avail themselves of the full capabilities of CL
(including closures). And, I still think you could write the C++
template facility (such as it is) in CL macros as an embedded langauge
(not that this would actually be useful or worth anything - just a
demonstration). It would likely even be relatively straightforward,
but to be fair, I haven't looked at the possibility that closely.
> automatic instantiation, but that won't be able to do what you want. What
> *you* want seems to be macros. Most Ada-philes seem to be macro-phobic,
> but don't let that stop you.
Right. I'm pretty skeptical of macros (real ones ala' CL) in
something like Ada (or C++ or anything like them). They just don't
seem to fit the spirit of the language.
/Jon
--
Jon Anthony
OMI, Belmont, MA 02178, 617.484.3383
"Nightmares - Ha! The way my life's been going lately,
Who'd notice?" -- Londo Mollari
next prev parent reply other threads:[~1997-09-05 0:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <md5:DB04B9CCA20E8EB6142C50D2DE055239>
[not found] ` <34090462.4652@easystreet.com>
[not found] ` <Pine.SGI.3.95.970831115842.17664A-100000@shellx.best.com>
1997-09-02 0:00 ` Ada vs C++ James B. White, III (Trey)
1997-09-05 0:00 ` Robert Dewar
1997-09-05 0:00 ` Brian Rogoff
1997-09-05 0:00 ` Larry Kilgallen
1997-09-08 0:00 ` Ada vs C++ (Expression Templates) James B. White, III (Trey)
1997-09-08 0:00 ` Matthew Heaney
[not found] ` <Pine.SGI.3.95.970904201703.13590A-100000@shellx.best.com>
1997-09-05 0:00 ` Jon S Anthony [this message]
1997-09-08 0:00 ` Ada vs C++ Richard A. O'Keefe
1997-09-08 0:00 ` Ada vs C++ (vs Lisp) James B. White, III (Trey)
1997-09-08 0:00 ` Brian Rogoff
1997-09-09 0:00 ` Robert A Duff
1997-09-09 0:00 ` Ada vs C++ (Ada 0X) James B. White, III (Trey)
1997-09-09 0:00 ` Brian Rogoff
1997-09-10 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-09-11 0:00 ` Anonymous
1997-09-11 0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-09-09 0:00 ` Ada vs C++ Joerg Rodemann
1997-09-09 0:00 ` Ada vs C++ (high-performance libraries) James B. White, III (Trey)
2001-07-21 16:45 Ada vs C++ Lao Xiao Hai
2001-07-23 5:39 ` Colin Paul Gloster
-- strict thread matches above, loose matches on Subject: below --
1991-06-27 17:05 Ray Diederich, 301-869-8400
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox