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=0.6 required=5.0 tests=BAYES_05,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!K.CS.CMU.EDU!Dennis.Cornhill From: Dennis.Cornhill@K.CS.CMU.EDU.UUCP Newsgroups: comp.lang.ada Subject: Simulation in Ada Message-ID: <1987.2.9.16.19.0.Dennis.Cornhill@k.cs.cmu.edu> Date: Mon, 9-Feb-87 11:39:12 EST Article-I.D.: k.1987.2.9.16.19.0.Dennis.Cornhill Posted: Mon Feb 9 11:39:12 1987 Date-Received: Mon, 16-Feb-87 03:56:53 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: We are in the process of writing a set of Ada packages that emulate Simscript functionality. The job is not too tough, I expect that we will have a pretty good emulation with about 1500 lines of source code. A simulation is written as a sequential Ada program and Simscript processes are written as procedures. The discrete event dispatcher is a task, and it creates an agent task for each process which invokes the process when its time arrives. Process context switching is implemented by rendezvous between the agents (clients) and the dispatcher (server). The emulation makes very heavy use of generics and is a pretty good test of a compiler's ability to deal with generics. We intend to use the Simscript emulation in place of Simscript for evaluating scheduling algorithms. I have documentation on what we are building. Send me mail if you want more information. Please include a telephone number in case I am unable to respond to you over the net. Dennis Cornhill