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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,36a29c2860aff686 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!32g2000yqz.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Properties Date: Tue, 7 Dec 2010 03:23:33 -0800 (PST) Organization: http://groups.google.com Message-ID: <95062c4e-531b-4b83-bc36-238b6c707f40@32g2000yqz.googlegroups.com> References: <3b84c8e7-1a51-4a7c-9646-119f1fc51478@s4g2000yql.googlegroups.com> <4pnv7nl4cdui$.1n28i7lqk4mek$.dlg@40tude.net> <1k7367gtebsgm$.18auo6u3nfg34.dlg@40tude.net> <618677c8-a44f-443e-9052-a94fb48c999a@s4g2000yql.googlegroups.com> <066181c0-9b80-4c17-a7b4-7ef28a297ea4@e16g2000pri.googlegroups.com> NNTP-Posting-Host: 137.138.182.236 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1291721013 4563 127.0.0.1 (7 Dec 2010 11:23:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Dec 2010 11:23:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 32g2000yqz.googlegroups.com; posting-host=137.138.182.236; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16808 Date: 2010-12-07T03:23:33-08:00 List-Id: On Dec 7, 12:43=A0am, "Randy Brukardt" wrote: > > That's academic- but they did use C++. > > So far as I know, Win32 is written in C. I'm pretty sure about that, sinc= e > Claw interfaces only using C (Stdcall) interfaces. That doesn't mean anything. It might as well be written in Ada and pragma Export everything to meet the "lowest denominator" at the C level. It might as well be written in assembler. And so on. As a demonstration that this can be a reasonable approach, the YAMI4 core library was written in C++ (to benefit from namespaces, encapsulation, and access control), but exports its interface in terms of extern "C". This interface is used as a basis for the Ada part. Technically, exactly the same approach might have been used in the Win32-Claw stack. Without you knowing about it. ;-) I don't claim that this is actually the case, but this is a) demonstrably possible and b) it even makes perfect sense from the engineering perspective. And in fact, the following might be an answer: http://www2.research.att.com/~bs/applications.html (scroll down to the bullet devoted to Microsoft) -- Maciej Sobczak * http://www.inspirel.com