Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Stefano Zacchiroli <zack@upsilon.cc>
To: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] GPL with linking exception?
Date: Mon, 18 Jan 2010 09:33:35 +0100	[thread overview]
Message-ID: <20100118083335.GC5325@usha.takhisis.invalid> (raw)
In-Reply-To: <4B538991.5060509@citycable.ch>

On Sun, Jan 17, 2010 at 11:05:05PM +0100, Guillaume Yziquel wrote:
> >Uh? Why "therefore"?
> Because I was indeed thinking of -custom when talking about
> "executable"...

OK, but notice that -custom has been deprecated for a while now. Also,
it is not clear to me which benefit do you gain in distributing your
stuff that way: you lose portability (which is the main benefit of
bytecode) and you have slower code than native code. (Of course, it
might be that you don't have a native code compiler for your target arch
...)

> >If you just distribute the bytecode (no -custom compilation involved),
> >you will be not distributing the OCaml runtime with it, just your own
> >program compiled to bytecode.
> 
> Is it the only issue with the GPL? If that's the only issue, then
> it's perfectly fine with me...

IANAL, but anyhow no, it is not the only issue with the GPL, but this
issue is a more generic one. It boils down to what you distribute: if
you distribute only stuff written by you, you can choose the license, if
you distribute also stuff written by someone else (the bytecode compiler
in this case), than you have to care about runtime compatibility. Of
course the fact that you can choose the license does not imply that you
can actually run it against the bytecode interpreter, but AFAICT this is
not a problem that the GPL will induce.

Obviously, GPL-ed bytecode means that the source of the bytecode most go
along with it.

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime


      reply	other threads:[~2010-01-18  8:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 13:06 Guillaume Yziquel
2010-01-17 15:13 ` [Caml-list] " Dario Teixeira
2010-01-17 16:02   ` Guillaume Yziquel
2010-01-17 16:26     ` Dario Teixeira
2010-01-17 16:47       ` Guillaume Yziquel
2010-01-17 17:40         ` Stefano Zacchiroli
2010-01-17 22:05           ` Guillaume Yziquel
2010-01-18  8:33             ` Stefano Zacchiroli [this message]

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=20100118083335.GC5325@usha.takhisis.invalid \
    --to=zack@upsilon.cc \
    --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