Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] Ocaml and lablgtk interface committed or not?

0 views
Skip to first unread message

bill yan

unread,
Jul 6, 2008, 10:46:15 PM7/6/08
to caml...@yquem.inria.fr
Hi,

Just a general question, Are Ocaml and lablgtk interfaces committed? I
mean whether Ocaml and lablgtk interfaces(command and library) always
backward compatible? Thanks a lot.

Regards,
Bill

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Richard Jones

unread,
Jul 7, 2008, 7:41:39 AM7/7/08
to bill yan, caml...@yquem.inria.fr
On Mon, Jul 07, 2008 at 10:41:45AM +0800, bill yan wrote:
> Just a general question, Are Ocaml and lablgtk interfaces committed? I
> mean whether Ocaml and lablgtk interfaces(command and library) always
> backward compatible? Thanks a lot.

Not precisely sure what you mean by 'committed', but the answer is no.
OCaml has no binary compatibility at all between compiler releases,
not even between point releases. Lablgtk2 is even worse - there is no
_source_ compatibility either, and in practice it often breaks
requiring bothersome conditional compilation if you want your code to
compile with multiple versions of lablgtk2.

For this reason, Fedora freezes OCaml & lablgtk versions every six
months and avoids upgrading them in old releases. We wouldn't upgrade
them unless there was some absolutely unavoidable security problem or
similar emergency.

Rich.

--
Richard Jones
Red Hat

Sylvain Le Gall

unread,
Jul 7, 2008, 10:47:38 AM7/7/08
to caml...@inria.fr
On 07-07-2008, Richard Jones <ri...@annexia.org> wrote:
> On Mon, Jul 07, 2008 at 10:41:45AM +0800, bill yan wrote:
>> Just a general question, Are Ocaml and lablgtk interfaces committed? I
>> mean whether Ocaml and lablgtk interfaces(command and library) always
>> backward compatible? Thanks a lot.
>
> For this reason, Fedora freezes OCaml & lablgtk versions every six
> months and avoids upgrading them in old releases. We wouldn't upgrade
> them unless there was some absolutely unavoidable security problem or
> similar emergency.
>

This statement applies for all kind of ocaml distribution (debian, godi,
freebsd...) and for all ocaml libraries (pxp, ocaml-libivrt...)

You should understand that, apart from the fact that lablgtk is written
in OCaml, there is no link between lablgtk library and ocaml INRIA
distribution.

Lablgtk is just a library written in/for OCaml.

Regards,
Sylvain Le Gall

0 new messages