comp.lang.ada
 help / color / mirror / Atom feed
From: jhoward@solar.sky.net (John Howard)
Subject: Re: GNAT and symmetric multi-processing!
Date: 1995/04/02
Date: 1995-04-02T00:00:00+00:00	[thread overview]
Message-ID: <3lmt4s$olg@pulsar.sky.net> (raw)
In-Reply-To: D6ErIJ.IwH@demon.co.uk

Chris Morgan (chris.morgan@baesema.co.uk) wrote:
: Dear all,
: -- a preamble
:   Now that tasking works in GNAT on Sun/SPARC/Solaris2.3, I am trying
: to awaken interest in the real-time possibilities of Ada95 by
: sponsoring a little programming competition within my company. Of
[deleted]
:   Briefly, I have challenged my colleagues to write an Ada95 program
: that demonstrates good use of tasking to perform some array of
: calculations, for example plotting the famous Mandelbrot set. Some
: dynamic creation of tasks is envisaged, possibly with the program
: running repeatedly to ascertain the optimum number of tasks. Maybe
: asynchronous transfer of control would also come in handy to exit
: points on the set which can't decide which pole to go to in a sensible
: amount of time...
[deleted]
: --a request
:   One feature that would spice up the above project is the ability to
: display the results graphically. Does anyone have a short program which
: interfaces to X-Windows that they have compiled under GNAT on Solaris
: (or similar) which they could share with us? I think there is a need
[deleted]
: -- Chris Morgan
: -- Member, Team Ada

Take a look at the Robot Auto Racing Simulation (RARS) competition and 
mailing list.  It has recently started out in C code and the Borland Graphic 
Interface (BGI) but it is actively being ported to other environments.

There are at least two people working on an Ada 95 implementation.  My 
version is for OS/2 and eventually an OpenGL interface.  The Presentation 
Manager graphics interface will be used initially.  RARS is a neat idea 
and a good way for me to better learn Ada 95, OS/2, and OpenGL 
programming while sticking with one project.  I believe that OS/2 performs 
symmetric multi-processing (SMP).

To get on the RARS mailing list:
Send a message body of:
  subscribe rars-list
to: listserv@NETCOM.COM
with a blank subject.

There is a new tutorial accessable to members on the mailing-list.

The RARS executables, source code and documentation is at 
magdanoz.mcafee.com:/bin/ftp/rars

Currently, everything is written in C.  One guy is using Ada 95 to 
interface to the C code.  I am writing an Ada 95 version only.

The simulator is being rewritten to accept cars defined as dynamic link 
libraries (DLL).  The outcome of a race will be sent to a text file.  My 
version will also output a 3d vector for each car during a discrete time 
frame for the race.  Each car will have its own output data file.  A generic 
viewer program can then interpret the 3d vectors and recreate the race 
for display.

Also, discussion occurs in a new newsgroup called something like 
comp.games.ai or similar.  I don't remember the exact group name.

The first RARS competition is April 29 but my version will not be ready by 
then.

--John Howard--Team Ada--Team OS/2




  reply	other threads:[~1995-04-02  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-02  0:00 GNAT and symmetric multi-processing! Chris Morgan
1995-04-02  0:00 ` John Howard [this message]
1995-04-03  0:00   ` Tore Joergensen
1995-04-05  0:00     ` Dale Pontius
replies disabled

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