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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 5b1e799cdb,3ef3e78eacf6f938 X-Google-Attributes: gid5b1e799cdb,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!newsfeed101.telia.com!nf02.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!bnewspeer01.bru.ops.eu.uu.net!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 18 Jul 2009 21:48:35 +0200 From: Georg Bauhaus Reply-To: rm.tsoh-bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.modula3,comp.programming Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a622714$0$32670$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 18 Jul 2009 21:48:36 CEST NNTP-Posting-Host: 97e7c24c.newsspool2.arcor-online.net X-Trace: DXC=VegV]FXKk]1Tia]Ho99G50A9EHlD;3Yc24Fo<]lROoR1^YC2XCjHcb9eRhPW`=oTZ=KQDKiQ7hB9dC3AIY6m5mlO`H>0P20< X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.eiffel:306 comp.lang.ada:7142 comp.lang.modula3:33 comp.programming:11767 Date: 2009-07-18T21:48:36+02:00 List-Id: Ludovic Brenta wrote: > Contrast [Ada parameter passing] to C where > simple parameter passing often requires pointers, and with Eiffel or > Java where everything is a pointer whether you like it or not. Neither is true: Eiffel has expanded objects and expanded classes (if they work in an implementations). A name of a variable will NOT be attached to some object (a reference) but denotes exactly one object. Also, expanded objects Eiffel prevent the aliasing that is possible with pointers of references. Java has had basic types that have no references forever. Wrappers were added later. However, in this case neither seems a good compensation for the other. I do not mean these remarks to be a statement favoring these or others languages. * Is number crunching going to be done in parallel? Eiffel's separate classes (whose objects execute on a conceptual "processor") is not fully available yet. I'd think that control of fundamentals of concurrent execution is, however, readily available with Ada's concurrent types. Ada's base type system---like Modula's it features name equivalence---should help abstracting your numeric types most efficiently, and precisely, as you decide yourself about bits, ranges, and optionally representation. -- Georg Bauhaus Y A Time Drain http://www.9toX.de