caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] The DLL-hell of O'Caml
@ 2002-03-22 10:24 Dave Berry
  2002-03-22 15:12 ` Sample code (was Re: [Caml-list] The DLL-hell of O'Caml) Tim Freeman
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Berry @ 2002-03-22 10:24 UTC (permalink / raw)
  To: Xavier Leroy, Jeff Henrikson, caml-list

FWIW, we (KAL) maintain backwards compatibility in a whole host of DLLs
and OCXs on Windows NT, 2000, and XP.  You can drop a version of our
utilities DLL compiled last night into a distribution from two years
ago, and your distribution will carry on working as if nothing had
changed.  So it is possible, even on Microsoft systems, given sufficient
care on the part of the designers.

What would be nice would be a type system that could ensure this for us.
There's some opportunities for academic research here, surely?

-----Original Message-----
From: Xavier Leroy [mailto:xavier.leroy@inria.fr]
Sent: 21 March 2002 18:10
To: Jeff Henrikson
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] The DLL-hell of O'Caml

What I think is futile is to expect users to pick independently-
compiled binary distributions of libraries and dynamically-linked
executables
left and right, and expect that the resulting system will work.  Try
to do this with a Linux system and it will break very quickly.

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Sample code (was Re: [Caml-list] The DLL-hell of O'Caml)
  2002-03-22 10:24 [Caml-list] The DLL-hell of O'Caml Dave Berry
@ 2002-03-22 15:12 ` Tim Freeman
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Freeman @ 2002-03-22 15:12 UTC (permalink / raw)
  To: Dave; +Cc: xavier.leroy, jehenrik, caml-list

From: "Dave Berry" <Dave@kal.com>
>You can drop a version of our
>utilities DLL compiled last night into a distribution from two years
>ago, and your distribution will carry on working as if nothing had
>changed.  So it is possible, even on Microsoft systems, given sufficient
>care on the part of the designers.
>
>What would be nice would be a type system that could ensure this for us.
>There's some opportunities for academic research here, surely?

I proposed a scheme for ensuring type-safety in this situation on this
mailing list yesterday morning, along with a concrete example.  No
replies yet.  The message is in the archives at:

   http://caml.inria.fr/archives/200203/msg00158.html

If you don't want to unpack the sample code from the email, you may
download it from

   http://www.fungible.com/dll-example.tar.gz

This file is only 1418 bytes.
-- 
Tim Freeman       
tim@fungible.com
-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-22 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22 10:24 [Caml-list] The DLL-hell of O'Caml Dave Berry
2002-03-22 15:12 ` Sample code (was Re: [Caml-list] The DLL-hell of O'Caml) Tim Freeman

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).