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: 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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) 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? Date: Sat, 18 Jul 2009 17:18:45 +0200 Organization: Informatimago Message-ID: <87zlb2c94a.fsf@galatea.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net xaVIzo2O3UQNNFt1kmb0VwrN6D9AlKEX6wC8IbhbO/sBn05AXP Cancel-Lock: sha1:ODExODc3Y2NhNDlhMDI4OTE3NTEyNTIxZDk1NTNjYmMxMjJhYWVlOA== sha1:ZR+iatei+xx9IXZzZrZZ/RqiZec= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) Xref: g2news2.google.com comp.lang.eiffel:297 comp.lang.ada:7131 comp.lang.modula3:24 comp.programming:11755 Date: 2009-07-18T17:18:45+02:00 List-Id: Andrea Taverna writes: > Hi folks! > > I'm a CS student and I often need to write number-crunching code > dealing with combinatorial optimization problems. > What I do usually is implementing ad-hoc algorithms and testing their > performance against other previously-known solutions, including > general solvers. > > 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" Have a look at Haskell. > So I have considered these alternatives: FreePascal, Eiffel, Ada and > Modula-3. Of those, I'd use Modula-3. (you may also consider: Objective Modula-2) -- __Pascal Bourguignon__