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.107.12.160 with SMTP id 32mr12146393iom.51.1511353957262; Wed, 22 Nov 2017 04:32:37 -0800 (PST) X-Received: by 10.157.94.7 with SMTP id d7mr874517oti.8.1511353957169; Wed, 22 Nov 2017 04:32:37 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feed.usenet.farm!feeder4.usenet.farm!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!newspeer1.nac.net!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!i6no3580843itb.0!news-out.google.com!x87ni2328ita.0!nntp.google.com!i6no3580839itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 22 Nov 2017 04:32:36 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.9.244.13; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 194.9.244.13 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8be1e6b4-3f67-46fb-9a0c-580e0272c279@googlegroups.com> Subject: Re: Home-made bingings or Florist? From: Maciej Sobczak Injection-Date: Wed, 22 Nov 2017 12:32:37 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: feeder.eternal-september.org comp.lang.ada:49051 Date: 2017-11-22T04:32:36-08:00 List-Id: > I think I should bind myself. My program would then be more likely to wor= k=20 > on a system with partial POSIX support (e.g. Windows), because I bind onl= y=20 > these POSIX functions which are necessary for my program. Not only that - with your own small bindings to just the functions that you= need, you might find it easier to re-bind to native Windows API if the nee= ded functionality can be reasonably mapped. With Florist you would need to = stack the bindings one on top of another, which unnecessarily complicates t= hings. With this in mind, try to anticipate this need for portability early on and= make sure that you do not commit to the interface that would make such tra= nsition unnecessarily difficult. --=20 Maciej Sobczak * http://www.inspirel.com