comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Binding or not binding
Date: 31 Jan 2007 13:31:45 -0800
Date: 2007-01-31T13:31:45-08:00	[thread overview]
Message-ID: <1170279105.540298.233310@l53g2000cwa.googlegroups.com> (raw)
In-Reply-To: <mailman.59.1170246844.18371.comp.lang.ada@ada-france.org>

Hullo!
It is a very fundamental question and not akward at all.
An Ada version is worth because you get an a priori portability, when,
with a binding, you have to follow each version/compiler/OS/option set
of the original library. But it cost effort and time.
I think the value of this effort depends on:
 1/ simplicity of input - output
 2/ degree of fossilisation
1: if the input and output are relatively basic, abstract and stable
over time (like files, memory), it is more worth to have an Ada
version: you can take time to build it, it will still work
2: the more the library is fossilized, the more the effort of both
(Ada version, Ada binding) is worth
Examples:
- zlib is perfect in the 1 and 2 criteria; in addition, the code for
decompression is already done (Unzip-Ada); there are better
compressors for the "inflate" format than zlib, so translating zlib
compression would perhaps not be the best idea (for a _worse_
compression, there are two quick solutions :-) )...
- OpenGL: the output is a graphics card; it would be silly to make an
Ada version for each one...; the criterium 2 is advanced, so
maintaining a binding is worth the effort IHMO.
My point of view is rather hobbyist - but you never know with
software... E.g. Unzip-Ada is reportedly used in at least two
professional programs (one is embedded).
______________________________________________________________
Gautier         -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm




  parent reply	other threads:[~2007-01-31 21:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 12:33 Binding or not binding Ali Bendriss
2007-01-31 13:21 ` Jeffrey Creem
2007-01-31 13:25 ` Pascal Obry
2007-01-31 13:25 ` Pascal Obry
2007-01-31 15:56   ` Dmitry A. Kazakov
2007-01-31 18:31     ` tmoran
2007-02-05 20:41     ` Björn Persson
2007-02-06  1:58       ` Randy Brukardt
2007-02-06  8:38       ` Dmitry A. Kazakov
2007-02-06  9:14         ` Alex R. Mosteo
2007-02-06  9:11       ` Ludovic Brenta
2007-01-31 18:44 ` Jeffrey R. Carter
2007-01-31 21:31 ` gautier_niouzes [this message]
2007-02-01  0:13   ` Jeffrey R. Carter
2007-02-01  8:16 ` Maciej Sobczak
replies disabled

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