Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!tut.cis.ohio-state.edu!att!dptg!ulysses!andante!alice!bs From: bs@alice.UUCP (Bjarne Stroustrup) Newsgroups: comp.lang.c++ Subject: Re: discrete-event simulation in C++ Summary: C++ is not a Smalltalk imitation We have had support for simulation since day 1 Message-ID: <11224@alice.UUCP> Date: 23 Aug 90 02:16:49 GMT References: <2533@ryn.esg.dec.com> <5606@abaa.UUCP> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 26 > From: korsberg@abaa.uucp (Ed Korsberg @ Allen Bradley) > In article <2533@ryn.esg.dec.com> zavgren@hpsrad.enet.dec.com (John Zavgren) writes: > >I am about to write a discrete-event simulation of a communications > >network. The object-oriented paradigm looks like it should save a lot > >of programming time, but I have never programmed in an object-oriented > >language, let alone C++. Can anyone furnish me with a few well-written > >well-commented C++ programs that I can use to get started with this project? > >I am especially interested in queueing network simulations. > > I am interested in this too! Have you taken a look at the CSIM program > available through MCC? It's only $150 and runs on a variety of machines. > Also have you though about using Smalltalk for you simulation? > I think that C++ is an attempt to mimic some of the concepts promoted in Smalltalk. C++ wasn't `an attempt to mimic some of the concepts promoted in Smalltalk.' It is the result of blending the Simula class concept into C in such a way that C's low-level efficiency and general abilities and a system's programming language wasn't impared. The first use of C++ was for Simula-like simulations (what is called process level simulation) with thousands of processes. The task library that comes with the AT&T distribution supports such work in a way rather similar to what is provided in Simula.