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=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id CCC51BBAF for ; Wed, 6 Aug 2008 22:05:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgBAFWgmUjUGypBmmdsb2JhbACRPAEBAQEBCAUIBxEDnB8 X-IronPort-AV: E=Sophos;i="4.31,316,1215381600"; d="scan'208";a="15866276" Received: from smtp8-g19.free.fr ([212.27.42.65]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Aug 2008 22:05:41 +0200 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 3916B32A877; Wed, 6 Aug 2008 22:05:41 +0200 (CEST) Received: from [192.168.0.6] (rke75-3-82-229-183-156.fbx.proxad.net [82.229.183.156]) by smtp8-g19.free.fr (Postfix) with ESMTP id 0D24532A7E9; Wed, 6 Aug 2008 22:05:40 +0200 (CEST) Message-ID: <489A0414.8020200@frisch.fr> Date: Wed, 06 Aug 2008 22:05:40 +0200 From: Alain Frisch User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Ben Aurel Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] native vs bytecode References: <74a4f4670808061258q30513bbdl446240feab3fdc36@mail.gmail.com> In-Reply-To: <74a4f4670808061258q30513bbdl446240feab3fdc36@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; frisch:01 frisch:01 bytecode:01 bytecode:01 ocaml:01 dynlink:01 model:01 wrote:01 dynamically:01 dynamically:01 caml-list:01 alain:01 alain:01 caml:02 api:02 Ben Aurel wrote: > - is it possible to dynamically load bytecode libraries into a bytecode program? Yes: http://caml.inria.fr/pub/docs/manual-ocaml/manual041.html > - is it possible to dynamically load native libraries into a native program? This will be possible in the next release of OCaml (3.11). The API is the same as for bytecode (Dynlink module), although the model is a little bit different (specific linking phase to produce dynlinkable units). > - is it possible to dynamically load bytecode libraries into a native program? > - is it possible to dynamically load native libraries into a bytecode program? No. -- Alain