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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ef3e78eacf6f938 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!postnews3.readnews.com!not-for-mail Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.modula3,comp.lang.pascal,comp.programming Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? References: <4BA8BA91.4050905@cherrystonesoftware.com> From: Patrick Scheible Date: 23 Mar 2010 13:29:31 -0700 Message-ID: X-Newsreader: Gnus v5.7/Emacs 20.7 Organization: The Zip Connection (zipcon.net) NNTP-Posting-Host: 69aa89db.news.zipcon.net X-Trace: DXC=c`eZZnE[kV7jde>A;8:=>0U>Dm5d6:E6=CgZSOIE\Z]?6i3K@k4DWO1<2IBkV^g4f Warren writes: > balson expounded in news:4BA8BA91.4050905@cherrystonesoftware.com: > > > Andrea Taverna wrote: > >> Hi folks! > > [snip] > >> In the past I used C, but now I have decided to change language. > >> I'm looking for a "better" one. > >> > >> Here follow the features it should have, ranked approximately by > >> relevance: > >> > >> 0) open-source support and an alive community > >> 1) directly compiled to efficient code > >> 2) statically typed and object-oriented, better if multi-paradigm > >> 3) general-purpose libraries (possibly standardized, either by > >> standard or de facto), including containers and some math > >> abstractions. 4) garbage collected. As an alternative, provide memory > >> management policies via libraries (e.g. memory pools and such) > >> 5) optional run-time checks and some kind of control over compilation > >> and low-level issues > >> 6) "relatively simple and consistent" > > > > Where's performance on this list? > > Performance is mentioned in "1) directly compiled to efficient > code". > > > IOW, stay away from the likes of Java, C#, Pascal. Unless you > > have a > > very specific reason for going in that direction. Your performance > > will suffer. > > Jim > > I don't think many people would be surprised by these results. > After all Java, C# and Pascal (variants) are still largely > interpreted languages, even if they use some sort of compiled > intermediate code. Pascal is not an interpreted language. One of Pascal's selling points was that it was one of the first languages that could be parsed by a simple recursive descent parser without backtracking. -- Patrick