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 10.99.112.81 with SMTP id a17mr3163248pgn.28.1496406456492; Fri, 02 Jun 2017 05:27:36 -0700 (PDT) X-Received: by 10.157.13.169 with SMTP id 38mr145630ots.6.1496406456449; Fri, 02 Jun 2017 05:27:36 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!67no638410itx.0!news-out.google.com!m134ni3011itb.0!nntp.google.com!67no638409itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 2 Jun 2017 05:27:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:820b:b4b:a960:89f2; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:820b:b4b:a960:89f2 References: <7d1796c7-3492-4f19-ac6c-27c70e486d59@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Microsoft UWP/WinRt From: Lucretia Injection-Date: Fri, 02 Jun 2017 12:27:36 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:46884 Date: 2017-06-02T05:27:36-07:00 List-Id: On Friday, 2 June 2017 08:24:19 UTC+1, Dmitry A. Kazakov wrote: > On 02/06/2017 03:23, alby.gamper@ wrote: > > > Would anyone be interested in a set of Ada bindings to the new Microsoft > > UWP/WinRT api ?. This would enable Ada to be used to develop native Windows Store You really should be doing something you are interested in. > > applications and also allow parts of the Api to be used from Desktop applications > > as well. (Note, as documented by Microsoft, only a subset of the WinRT api can > > be used by traditional desktop applications) > > I don't think there would be much interest in that. Ada's strength is in > developing portable software. So unless UWP runs on Linux, VxWorks etc > few would invest much time into it. That's a bit narrow minded, imo. One part of portable software is os level bindings. So, yes, someone will find them useful. > Another point is that Microsoft API is pretty much low-level (which is > OK by itself). So it is not a big deal to call individual operations > from Ada program without any bindings. Though one could expect that > AdaCore would expand Win32Ada with these. Never heard of Win32Ada, where's this then? > The point is about having thick bindings to make it useful/usable, e.g. > hiding Windows handles in controlled wrappers, enumeration and variant > record parameters etc. That would be more work than calls you presented. Yes, thick bindings are always better.