From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 5B910BC69 for ; Fri, 9 Mar 2007 14:33:35 +0100 (CET) Received: from mail.roomandboard.com (mail.roomandboard.com [66.84.219.55]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l29DXXmS002859 for ; Fri, 9 Mar 2007 14:33:34 +0100 Received: from selma.roomandboard.com ([192.168.101.46]) by mail.roomandboard.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 9 Mar 2007 07:33:29 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Interactive technical computing Date: Fri, 9 Mar 2007 07:33:29 -0600 Message-ID: <3D1E4D9CA9BCE04D8F2B55F203AE4CE30666AB82@selma.roomandboard.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] Interactive technical computing Thread-Index: Acdh3niMLVoADYKEQJSIRDhtRtdR2gAcOk2Q From: "Robert Fischer" To: X-OriginalArrivalTime: 09 Mar 2007 13:33:29.0741 (UTC) FILETIME=[863CABD0:01C7624F] X-Miltered: at concorde with ID 45F1622D.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bytecode:01 linkable:01 bytecode:01 ocaml:01 ocamlopt:01 ocaml:01 distros:01 model:01 linkable:01 sourceforge:01 wrote:01 dynamically:01 dynamically:01 compile:01 caml-list:01 >> After all, Java and C# aren't intended to be used like that, yet they >> certainly have wide-spread adoption. > > They don't make binary shared libraries > because the architecture is a virtual machine driven by > bytecode .. they DO make dynamically linkable bytecode > libraries. > As long as you play within the bounds of their VM. This is no different = than Ocaml. ~~ Robert. -----Original Message----- From: skaller [mailto:skaller@users.sourceforge.net] Sent: Thursday, March 08, 2007 6:04 PM To: Robert Fischer Cc: caml-list@inria.fr Subject: RE: [Caml-list] Interactive technical computing On Thu, 2007-03-08 at 15:26 -0600, Robert Fischer wrote: > > Putting aside the obvious cultural resistance to using a sensible > > language for this project, there is one technical hurdle: It needs = to > > compile into a DLL which can be linked to other programs (in C and > > other languages). I can't generate such code using ocamlopt, at = least > > not without using unsupported out-of-tree extensions. > > > I don't think this is a real hurdle to general adoption of a language. It is in fact an utter and complete show stopper. I've spent 6 years developing Felix precisely to solve this problem: a high level language that can generate shared libraries which can use and be used by other shared libraries. Ocaml is great for stand-alone programs but a significant fraction of software development is library building, and Linux distros such as those based on Debian provide a library component model which demands dynamic linkage so the components can be upgraded without end user recompilation. I expect this will eventually be solved too. > After all, Java and C# aren't intended to be used like that, yet they > certainly have wide-spread adoption. They don't make binary shared libraries because the architecture is a virtual machine driven by bytecode .. they DO make dynamically linkable bytecode libraries. --=20 John Skaller Felix, successor to C++: http://felix.sf.net