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=2.0 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC,UNRESOLVED_TEMPLATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!QZCOM.MAILNET!Mats_Ohlin_FOA2 From: Mats_Ohlin_FOA2@QZCOM.MAILNET.UUCP Newsgroups: comp.lang.ada Subject: Re: Tasks and Simulation Message-ID: <231892@QZCOM> Date: Tue, 3-Mar-87 21:19:51 EST Article-I.D.: QZCOM.231892 Posted: Tue Mar 3 21:19:51 1987 Date-Received: Fri, 6-Mar-87 02:37:24 EST References: <1660@enea.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Mats_Ohlin_FOA2%QZCOM.MAILNET@MIT-MULTICS.ARPA, Ada_mailing_list%QZCOM.MAILNET@MIT-MULTICS.ARPA Distribution: world Organization: The ARPA Internet List-Id: My impression (shared with many other people having knowledge of both SIMULA and Ada) is that Ada will NOT be a good simulation language in its current form. It will gives simulation capabilities similar to those that may be built in say Pascal. The two main things Ada lacks for general purpose simulation are: 1. Lack of a simple and fast co-routine mechanism. 2. Lack of a general task type (which is needed for efficient and general handling of event lists /built, of course, as priority trees/). A subclass mechanism (what Intel calls "extended objects") would facilitate the transgression from SIMULA experience and modelling techniques, but goes contrary to the path Ada has selected for this problem, i.e. generics. According to an object-oriented approach to modelling, I cannot help thinking that the subclass concept in many cases is superior. Experience from the use of SIMULA clearly indicates that qualification checks in many cases can be done during compilation time, those few that are checked during execution gives a very small overhead (contrary to the belief of many otherwise well-informed specialists, especially in the US I have to say). -- Mats Ohlin, Swedish National Defense Research Institute Mats_Ohlin_FOA2%QZCOM@MULTICS.MIT.EDU