comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Home-made bingings or Florist?
Date: Wed, 22 Nov 2017 04:32:36 -0800 (PST)
Date: 2017-11-22T04:32:36-08:00	[thread overview]
Message-ID: <8be1e6b4-3f67-46fb-9a0c-580e0272c279@googlegroups.com> (raw)
In-Reply-To: <ov1hvj$1an8$1@gioia.aioe.org>

> I think I should bind myself. My program would then be more likely to work 
> on a system with partial POSIX support (e.g. Windows), because I bind only 
> 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 needed functionality can be reasonably mapped. With Florist you would need to stack the bindings one on top of another, which unnecessarily complicates things.
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 transition unnecessarily difficult.

-- 
Maciej Sobczak * http://www.inspirel.com


      reply	other threads:[~2017-11-22 12:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19 21:19 Home-made bingings or Florist? Victor Porton
2017-11-19 21:23 ` Luke A. Guest
2017-11-19 22:10   ` Victor Porton
2017-11-20  1:51     ` Luke A. Guest
2017-11-20 16:25       ` Victor Porton
2017-11-20 17:26         ` Spiros Bousbouras
2017-11-21 15:50 ` Victor Porton
2017-11-22 12:32   ` Maciej Sobczak [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox