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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a9bbfb8cd49f1a51 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: "Tassilo v. Parseval" Newsgroups: comp.lang.ada Subject: Re: Isn't this in favour of Ada?? Date: Mon, 25 Jul 2005 11:48:25 +0200 Message-ID: References: <42d64dde$0$64794$edfadb0f@dread12.news.tele.dk> <42e0a2a6$0$36943$edfadb0f@dread12.news.tele.dk> <42e0cd67$0$37532$edfadb0f@dread12.news.tele.dk> <42E102A9.5060707@mailinator.com> X-Trace: news.dfncis.de BbkdRCPp/+Ds3eQ/es3qoA1ZzbkIt3aWY1tcTCnzTo+pxM8YyGBnUff/T9 User-Agent: slrn/0.9.8.1 (Debian) Xref: g2news1.google.com comp.lang.ada:3749 Date: 2005-07-25T11:48:25+02:00 List-Id: Also sprach Pascal Obry: > "Alex R. Mosteo" writes: > >> OpenMP is pushing hard. At least I heard of it a lot, and seems to be pretty >> standard when it comes to multithreading with C/C++. This edge in Ada may be >> very well already lost. > > Have you looked at an OpenMP C++ enabled application ? OpenMP is a quite > intrusive technology (adding lot of directives in comment) this makes the > code again less readable. I agree that OpenMP is pushing hard, I'm sure it > will gain a very good part of the market... this is just sad when you know the > Ada tasking model. We can also talk about MPI compared to the distributed > annex :( I don't think that Ada tasks and MPI are comparable. MPI is mainly used in the fields of supercomputing. You would certainly not use it as a fork or threads replacement (incidentally, the 1.x standard of MPI did not allow to create processes dynamically) because it would just be too painful. On the other hand it offers things not present in Ada tasks. MPI has its own datatypes that allow you to specify in detail which parts of a data-structure to send to another process, where the appropriate conversions are done by MPI's pack routines. If you have a matrix with rank 100,000 you don't want to share it all and in Ada you'd explicitely have to take precautions against that. Furthermore, MPI allows you to write a program that does a calculation in parallel on your computer and, say, NEC's earth simulator because data-exchange between processors can happen over TCP/IP. So MPI really is a way to distribute one application across a huge distributed system involving workstations that can be anywhere on the internet. Also, there are MPI bindings for Ada which wouldn't be the case if those two had the same niches in mind. Tassilo -- use bigint; $n=71423350343770280161397026330337371139054411854220053437565440; $m=-8,;;$_=$n&(0xff)<<$m,,$_>>=$m,,print+chr,,while(($m+=8)<=200);