comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Marc Bourguet <jm@bourguet.org>
Subject: Re: newbie inquiry
Date: 12 Jun 2002 18:26:43 +0200
Date: 2002-06-12T18:26:43+02:00	[thread overview]
Message-ID: <3d07764f$1@news.cadence.com> (raw)
In-Reply-To: ae7rpt$kfi$1@bunyip.cc.uq.edu.au

"Steven Shaw" <steve.shaw@uq.net.au> writes:

> Recently, I've been reading about Modula-3. I got exciting about it but
> recently found out that it's pretty much dead. Ada, on the other hand, has
> been around awhile and recently because part of the "standard" GCC distro.
> I'm hoping that Ada can be my m3. I'm quite new to Ada. I've read the
> lovelace tutorial and found some other useful material (but I haven't read
> it all yet). There's alot of info out there... If there are any comparisons
> with m3 that would be useful for me.
> 
> Features I kinda know Ada has (but might be wrong)
>     * modules
>     * fixed string and dynamically growing strings (excellent)
>     * generics
> 
> Features I'm hoping Ada has:
>     * gc

No.  Controlled types can help.  Good design reduce also the need.

>     * multiple interface inheritence (like Java, m3 doesn't have it)

No.  AFAIK, there is an extension proposed for normalisation.  Gnat
has also an extension, I don't know if they are the same.

>     * fast language interoperability with C (ffi and data sharing)
Yes

>     * ability to put data/objects into shared-memory for sharing between
> processes

You can define memory pool for this.

>     * speed of C?

If you use C level structure.

>     * libraries for database access, sockets/protocols, xml

see http://adapower.com/, http://libre.act-europe.fr/ and recent posts.
> 
> I read somewhere that Ada doesn't have GC. I think I heard that gnat
> supports gc.

False for most meaning of "support".

>  How does this work out for you? Does this mean you have to use
> free() when using the standard library?

No. (In fact that would be Unchecked_Deallocation).

> Would Ada be as good a choice as C for writing an OS? a dbms?

People here would argue that's a better choice for a pure technical
point of view.
 
> The Ada spec is very big. Is it all implemented in gnats?

In Gnat yes.  (Gnats is another thing).

> Are there features in the spec that could/should be avoided?

There are things that can be misused, but I know of non that are to be
avoided at all cost.

A+

-- 
Jean-Marc



  reply	other threads:[~2002-06-12 16:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 16:09 newbie inquiry Steven Shaw
2002-06-12 16:26 ` Jean-Marc Bourguet [this message]
2002-06-12 18:09   ` Pascal Obry
2002-06-12 19:50     ` Ed Falis
2002-06-14  7:27     ` Jean-Marc Bourguet
2002-06-12 18:04 ` Stephen Leake
2002-06-12 21:22   ` Mark Johnson
2002-06-12 18:05 ` Larry Kilgallen
2002-06-12 20:14 ` Jeffrey Carter
2002-06-13 15:35   ` Ted Dennison
2002-06-13 20:12     ` Freddy
2002-06-14  2:49       ` Ted Dennison
2002-06-15 21:38         ` Robert A Duff
2002-06-16 22:16           ` Ted Dennison
2002-06-13 15:19 ` Ted Dennison
2002-06-13 23:26   ` Caffeine Junky
2002-06-14  2:55     ` Ted Dennison
2002-06-14  3:29       ` Darren New
2002-06-14 18:56         ` Ted Dennison
2002-06-14 19:05           ` Darren New
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox