From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7709673d1d85b3b6 X-Google-Attributes: gid103376,public From: jhoward@solar.sky.net (John Howard) Subject: Re: GNAT and symmetric multi-processing! Date: 1995/04/02 Message-ID: <3lmt4s$olg@pulsar.sky.net>#1/1 X-Deja-AN: 100721940 references: organization: SkyNET Corporation newsgroups: comp.lang.ada Date: 1995-04-02T00:00:00+00:00 List-Id: 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