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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:d1c2:: with SMTP id w185-v6mr1038741itg.43.1523697670015; Sat, 14 Apr 2018 02:21:10 -0700 (PDT) X-Received: by 2002:a9d:5888:: with SMTP id x8-v6mr148616otg.0.1523697669854; Sat, 14 Apr 2018 02:21:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feed.usenet.farm!feeder3.feed.usenet.farm!feeder.erje.net!2.us.feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!k65-v6no1004180ita.0!news-out.google.com!u64-v6ni1968itb.0!nntp.google.com!k65-v6no1004178ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 14 Apr 2018 02:21:09 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.229.240.163; posting-account=-SMKVgoAAAA8u8UnmI_NwOPA-LGqXugp NNTP-Posting-Host: 85.229.240.163 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <90b66692-0e30-4311-9f37-6713d2b5f26b@googlegroups.com> Subject: Re: Ada-WinRT bindings - Alpha release From: gorgelo@hotmail.com Injection-Date: Sat, 14 Apr 2018 09:21:09 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2277 X-Received-Body-CRC: 1172689453 Xref: reader02.eternal-september.org comp.lang.ada:51497 Date: 2018-04-14T02:21:09-07:00 List-Id: Den fredag 13 april 2018 kl. 11:05:41 UTC+2 skrev alby....@gmail.com: > Dear Ada community >=20 > I am pleased to announce the initial alpha release of the WinRt bindings = for Ada. > It is available on GitHub at the following URL >=20 > https://github.com/Alex-Gamper/Ada-WinRT >=20 > Please feel free to raise issues/question/recommendations for improvement= s either > via GitHub or on his forum >=20 > Thanks >=20 > Alex Hi Alex! Great work on the Windows binding! It is huge! :) One thing I keep in mind when making Ada bindings to C libraries is to atte= mpt hiding the access types from the users of the API. For example wrapping= the access type variables inside the private the part of limited types (to= avoid copying of the private access type variable in order to be sure one = does unchecked deallocation just once). It means first making a thin bindin= g with access types (because there are pointers in the C API) and then buil= ding a thick binding on top. And oh yes, that's easier said than done. Anyw= ays, something I keep in mind. Best regards, Joakiim