comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: About studying Ada's implementation on its concurrent programming features.
Date: Wed, 30 May 2007 20:23:26 -0700
Date: 2007-05-30T20:23:26-07:00	[thread overview]
Message-ID: <bqKdnXjk9qsSosPbnZ2dnUVZ_umlnZ2d@comcast.com> (raw)
In-Reply-To: 1180552110.488340.247990@g37g2000prf.googlegroups.com

<climber.cui@gmail.com> wrote in message 
news:1180552110.488340.247990@g37g2000prf.googlegroups.com...
> Hi ALL,
>
>  I am currently working on implementing an experimental parallel/
> concurrent programming language, and I am advised to look into Ada's
> implementation on its concurrent programming constructs, e.g. the Ada
> multi-tasking.

I could be wrong, but I would think that the suggestion of looking into Ada 
with regard to concurrent programming was more of a suggestion of how Ada 
programs use concurrent programming, not how it is implemented by a 
particular compiler or run-time system.

The Ada programming language provides task types and protected objects that 
hide the implementation of tasking from the programmer.  These high level 
constructs eliminate dealing with low level things like semaphores, mutexes, 
and events.  This allows the concurrent programs to run on different 
operating systems without modification.

You can start at: http://en.wikibooks.org/wiki/Ada_Programming/Tasking for a 
description of programming tasks in Ada.  I think that is what you're 
looking for.  There are a number of good books on Ada that describe tasking. 
If you search the archives of this newsgroup you'll find lots of 
recomendations for both free and non-free books.  I'm particularly fond of 
the non-free "Programming in Ada 95" by Barnes.

On the other hand, if you want to look at how one implementation of Ada 
(GNAT) implements tasking, a good starting place is:

http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/index.htm

But as I mentioned earlier... I don't think that is what you are looking 
for.

Regards,
Steve
(The Duck)

>  Although some Ada compiler is open source, I still found it is very
> hard to study Ada's implementation through the source code. So, what I
> am looking for is relevant literatures that systematically documented
> how an Ada compiler(like the GNU-ada compiler) is constructed. I have
> found some articles from Annual International Conference on Ada, such
> as Proceedings of the conference on TRI-Ada '94(some papers on GNAT),
> and  Proceeding of the ACM-SIGPLAN symposium on Ada programming
> language '80. But I am not sure these articles together describes the
> design and implementation of an Ada compiler and runtime system.
> There are plenty of papers on Ada's implementation available,but they
> seem to be so scattered that I do not know where to start.
>  I would very much appreciate suggestions from Ada compiler
> developers and Ada experts.
>
>  Thanks a lot.
>
> cheers,
>
> Xiao-lei
> 





  parent reply	other threads:[~2007-05-31  3:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30 19:08 About studying Ada's implementation on its concurrent programming features climber.cui
2007-05-30 23:46 ` jimmaureenrogers
2007-05-31  3:23 ` Steve [this message]
2007-05-31 12:53   ` Ed Falis
2007-05-31 17:17     ` Ray Blaak
2007-05-31 18:00       ` ezkcdude
2007-05-31 20:27         ` Ray Blaak
2007-05-31  8:40 ` Georg Bauhaus
replies disabled

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