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: 103376,58253cbf46bbb1fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!transit4.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Sat, 16 Feb 2008 07:12:18 -0500 From: "Peter C. Chapin" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Automated conversion to C++? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <47b6d324$0$13594$4d3efbfe@news.sover.net> Organization: SoVerNet (sover.net) NNTP-Posting-Host: 9e045bdb.news.sover.net X-Trace: DXC=<;nZY^72nBFX^nGNFJ5Q0NK6_LM2JZB_C5RnDn6_4NAG3?@`i3kGa5KEk:l=6EZYPO^3[;=R3A_9L X-Complaints-To: abuse@sover.net Xref: g2news1.google.com comp.lang.ada:19815 Date: 2008-02-16T07:12:18-05:00 List-Id: Jeffrey R. Carter wrote: > Really? I'd like to know how to translate Ada tasking into portable C++ > that will run on "any mainstream operating system". Build a C++ library that wraps the threading primitives of several platforms and then generate C++ code that uses that library. Are you saying that the semantics of Ada tasking are such that conversion into standard C++ is impossible---that is, without resorting to assembly language glue here and there? No matter what you do you're pretty much going to have to build an operating system specific run-time at some point. Whether you do that in C++ or some other way, I don't see that it matters. It's all business as usual when one builds a compiler that targets a particular system. Peter