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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-12 14:10:07 PST From: whraven@usenet-access.com (Richard Pinkall-Pollei) Newsgroups: comp.lang.ada Subject: ada vs. cpp Keywords: Ada C++ CPP Summary: Difference in Multi-tasking and Distributed Programs Message-ID: User-Agent: slrn/0.9.6.4 (Linux) NNTP-Posting-Host: 127.0.0.1 Date: 12 Oct 2001 15:54:52 -0500 X-Authenticated-User: 5591045 X-Comments: This message was posted through Binaries.net X-Comments2: IMPORTANT: Binaries.net does not condone, nor support, spam or any illegal or copyrighted postings. X-Report: Please report abuse to Organization: Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net Path: archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!corp-goliath.newsgroups.com Xref: archiver1.google.com comp.lang.ada:14437 Date: 2001-10-12T15:54:52-05:00 List-Id: The discussion of the relative merits of both languages has so far centered on basic language features. With the adoption of the C++ STL into the standard, the differences in these features are a reflection of the basic syntax and semantic philosophies of each language, with secondary effects on development time and maintain- ability. What I haven't seen discussed is the situation I encountered when trying to implement a multi-tasking application. Here, I had to go outside the C++ standard for thread and resource control, either by developing my own code using OS calls (albeit POSIX defined) and STL containers, or using someone else's code for such. With Ada, the constructs were all defined within the language standard. A similar case occurs with distributed systems, but in this case, the Ada standard does not require a compiler to include the features in the Distributed Computing Annex. In this case, then, my language choice was based not only on devel- opment and maintenance time, but on whether I wanted to develop my own multi-tasking and resource control code, or let the compiler do it. The former might be fun, but the latter is easier. --- I'm screwing up. Why? What does it *look* like I'm doing? ______________________________________________________________________________ Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net