caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jdh30@cam.ac.uk>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Large projects in OCaml
Date: Fri, 21 May 2004 17:27:15 +0100	[thread overview]
Message-ID: <200405211727.15634.jdh30@cam.ac.uk> (raw)
In-Reply-To: <3CCE10AB-AB25-11D8-8E42-000393863F70@exomi.com>

On Friday 21 May 2004 13:49, Ville-Pertti Keinonen wrote:
> Your library version obviously needs to depend on a specific version of
> OCaml as well as specific versions of libraries used by your
> library...but for a commercial library, this should be the case,
> anyhow.  You shouldn't be supporting any versions of OCaml and
> libraries you depend on except the ones you have built and tested
> against.

Do you think I should build, test and distribute for a variety of compiler and 
third party library versions then? That would be a set of object files for 
each permutation?

> This isn't specific to OCaml, either.  C is rare in that it has had
> stable and standardized enough ABIs that you can usually get away with
> using different versions of compilers and system libraries.  With other
> libraries, YMMV, but things that break due to version incompatibilities
> aren't rare.

Ok, I just want to make sure that I'm providing the best possible service. :-)

> But why would your library depend on *their* changing object file,
> unless its a third party library, in which case they should be using
> the same version you built against?

I meant third party, sorry. I'm using my own version of lablgl as well as 
camlimages. I'll probably open-source an alternative to lablgl (based upon 
Isaac Trott's idlgl) but I'd like to use the standard camlimages.

> In any case, you really should consider distributing your library in
> source form to licensees.  Given a choice, I'd never purchase a
> binary-only library for any purpose (sadly, I often don't have a
> choice).

I don't mind distributing the bulk of my code in source form (particularly the 
demos and paraphenalia) but I would like to keep the core closed source, 
unless someone is willing to pay an obscene amount of money for it. :-)

> Almost all of the problems I've run into with purchased binary
> libraries could've been avoided if I had the source, and I've spent
> unreasonable amounts of time tracking down totally stupid problems
> (mostly due to undocumented assumptions).  I can't think of any binary
> (non-system) libraries that I haven't run into unnecessary problems
> with during the last decade...prior to that, I wasn't used to having
> source code, so I didn't associate problems with binary distributions.

Ok, I'll keep considering distributing a source version. Maybe a cut-down 
version...

Cheers,
Jon.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-05-21 16:29 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 17:24 ramu ramamurthy
2004-05-19 21:33 ` Jon Harrop
2004-05-19 23:04   ` David J. Trombley
2004-05-20 16:31   ` Eric Stokes
2004-05-20 17:37     ` Jon Harrop
2004-05-20 20:30       ` Eric Stokes
2004-05-20 21:04         ` Jon Harrop
2004-05-20 21:41           ` Eric Stokes
2004-05-21 11:28             ` Jon Harrop
2004-05-21 12:49               ` Ville-Pertti Keinonen
2004-05-21 16:27                 ` Jon Harrop [this message]
2004-05-24  3:07               ` Jacques GARRIGUE
2004-05-24  5:20                 ` skaller
2004-05-24 12:14                   ` Jacques GARRIGUE
2004-05-24 13:54                     ` skaller
2004-05-24 14:20                       ` Xavier Leroy
2004-05-24 16:48                         ` Alex Baretta
2004-05-24 17:38                           ` brogoff
2004-05-25  5:25                           ` Alan Schmitt
2004-05-24 19:24                         ` skaller
2004-05-24 19:52                           ` Brandon J. Van Every
2004-05-24 14:20                       ` Daniel Bünzli
2004-05-24 19:34                         ` skaller
2004-05-24 16:49                       ` james woodyatt
2004-05-19 21:38 ` Richard Jones
2004-05-20  8:46   ` skaller
2004-05-20 11:56     ` [Caml-list] A problem with nan sejourne kevin
2004-05-20 20:42       ` Jon Harrop
2004-05-20 22:24         ` David J. Trombley
2004-05-20 22:45         ` Damien Doligez
2004-05-20 13:10     ` [Caml-list] Large projects in OCaml Jon Harrop
2004-05-20 16:23       ` skaller
2004-05-20  6:35 ` David Monniaux
2004-05-20  7:17   ` Dustin Sallings
2004-05-25  7:26 Mattias Waldau
2004-05-25 19:07 ` Richard Jones
2004-05-25 19:54   ` Evan Martin
2004-05-26  6:57   ` skaller
2004-05-26  8:09     ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405211727.15634.jdh30@cam.ac.uk \
    --to=jdh30@cam.ac.uk \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).