caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Ulf Wiger (TN/EAB)" <ulf.wiger@ericsson.com>
To: "Joel Reymont" <joelr1@gmail.com>,
	"Matthieu Dubuget" <matthieu.dubuget@gmail.com>
Cc: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] ocaml dll in an Erlang runtime
Date: Thu, 21 Jun 2007 12:42:47 +0200	[thread overview]
Message-ID: <6616D98C65DD514BA2E1DDC5F92231550228B7EB@esealmw115.eemea.ericsson.se> (raw)
In-Reply-To: <D698E972-9B13-42B8-9B59-461208A5562D@gmail.com>


Ok, the problem was building a dynamically linked 
library? The patch seems to work, but offer some 
slowdown.

You _can_ link drivers statically into the erlang VM,
which is how it had to be done in the olden days. 
For prototyping, this should be perfectly adequate.

Today, one normally uses erl_ddll module to dynamically 
load/unload libs, since it's much more convenient.

BR,
Ulf W

> -----Original Message-----
> From: caml-list-bounces@yquem.inria.fr 
> [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Joel Reymont
> Sent: den 21 juni 2007 12:29
> To: Matthieu Dubuget
> Cc: caml-list@yquem.inria.fr
> Subject: Re: [Caml-list] ocaml dll in an Erlang runtime
> 
> http://tinyurl.com/yrjryv
> 
> On Jun 21, 2007, at 11:15 AM, Matthieu Dubuget wrote:
> 
> > 2007/6/21, Joel Reymont <joelr1@gmail.com>: My biggest issue with 
> > OCaml is building shared libraries.
> >
> > I tried to build a shared library for use with Ruby once and failed 
> > miserably.
> >
> > Could you please elaborate about this? Maybe not on this thread.
> 
> --
> http://topdog.cc      - EasyLanguage to C# translator
> http://wagerlabs.com  - Blog
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> 


  reply	other threads:[~2007-06-21 10:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  9:39 Ulf Wiger (TN/EAB)
2007-06-21  9:52 ` [Caml-list] " Joel Reymont
2007-06-21 10:15   ` Matthieu Dubuget
2007-06-21 10:28     ` Joel Reymont
2007-06-21 10:42       ` Ulf Wiger (TN/EAB) [this message]
2007-06-21 19:09       ` Pablo Polvorin
2007-06-21 10:34     ` Ulf Wiger (TN/EAB)
2007-06-21 12:00     ` Jon Harrop
2007-06-21 12:23       ` Matthieu Dubuget
2007-06-21 19:00         ` Pablo Polvorin
2007-06-22 10:22       ` Dmitry Bely
2007-06-22  8:02 ` Xavier Leroy
2007-06-22 11:57   ` Serge Aleynikov
2007-06-25  9:44   ` Ulf Wiger (TN/EAB)
2007-06-23  4:02 ` Jon Harrop
     [not found] ` <1182973204.24639.1197385329@webmail.messagingengine.com>
2007-06-27 21:07   ` Ulf Wiger (TN/EAB)
2007-06-28  8:22     ` Gabriel Kerneis
2007-06-28  8:38       ` Gabriel Kerneis

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=6616D98C65DD514BA2E1DDC5F92231550228B7EB@esealmw115.eemea.ericsson.se \
    --to=ulf.wiger@ericsson.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=joelr1@gmail.com \
    --cc=matthieu.dubuget@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).