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!news4.google.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.scheme,comp.lang.ada,comp.lang.functional,comp.lang.c++,comp.programming Subject: Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? Followup-To: comp.lang.ada Date: Thu, 30 Jul 2009 02:11:26 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <2009a75f-63e7-485e-9d9f-955e456578ed@v37g2000prg.googlegroups.com> NNTP-Posting-Host: +ERTOT2Y9KJRZ8n+NpAZGA.user.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.7.9 X-Newsreader: Tom's custom newsreader Cancel-Lock: sha1:o4yE1zASB3NlXuvA5x6ia57br/g= Xref: g2news2.google.com comp.lang.scheme:6181 comp.lang.ada:7430 comp.lang.functional:2533 comp.lang.c++:48581 comp.programming:12136 Date: 2009-07-30T02:11:26+00:00 List-Id: > Ada is also 2x slower, Where'd you get that idea? When comparing to C, you should remember to turn off all run-time checking, but even with it all on normal code shouldn't have more than a 10-15% slowdown. Note that Gnat uses the same code generator as Gnu C, so one would expect the same semantics to generate the same code and run at the same speed. And if you are calling a library of course they would be the same. Note also that it's very easy, and safer, in Ada to use multiple cores, on those occasions when that would help.