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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,def01441310021b3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-28 22:46:12 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!news.xtra.co.nz!not-for-mail From: "AG" Newsgroups: comp.lang.ada References: <3B557455.B3ADFEE@ffi.no> <3B57DF48.E1C23D42@ffi.no> <3B57EFCB.C5EC2F12@nbi.dk> <9k03ot$2me$3@news.tpi.pl> Subject: Re: Will (abstract) Ada code improve over time ? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 29 Jul 2001 17:47:07 +1200 NNTP-Posting-Host: 210.54.86.196 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 996385571 210.54.86.196 (Sun, 29 Jul 2001 17:46:11 NZST) NNTP-Posting-Date: Sun, 29 Jul 2001 17:46:11 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:10679 Date: 2001-07-29T17:47:07+12:00 List-Id: "Tomasz Wegrzanowski" wrote in message news:9k03ot$2me$3@news.tpi.pl... > In article , Corey Ashford wrote: > > One major advantage of Ada is built-in threading (i.e. Ada tasks). > > As hardware gets more multiprocessing capability, Ada programs written using > > tasking will naturally get a performance boost. Of course, multi-threaded > > C programs would get a boost too, but because it's so much easier > > for a programmer to write multi-threaded programs in Ada, they will be more > > likely to do use multi-threading in Ada than in C. > > Not true, because C uses hardware/OS threading model, while Ada uses own > threading model, so unless hardware and OSes will be designed for Ada, > C code will perform better (C code can change threading model if > hardware/OS design changes with no problem). Please note that you said "change threading model". That obviously means at least *some* change (I hope you didn't mean that C compiler can do that for you?) Ada model does *not* require that. And, if you want to use hardware/OS threading model why not bite the bullet and go Assembler way?