From: Vlad Seryakov <vlad@crystalballinc.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Embedding OCaml
Date: Fri, 20 Feb 2004 12:34:12 -0500 [thread overview]
Message-ID: <40364514.7050708@crystalballinc.com> (raw)
In-Reply-To: <20040220172545.GA7538@redhat.com>
Thanks
Actually i checked mod_caml and used many great ideas from it. I have my
module
working fine and actually i do not use separate executable as mod_caml
does. i was able to put Caml bytecode
runtime into shared library and give that shared library to caml_main on
startup, so Dynalink is happy as well.
I have douts about multithreading, source code does not have anything,
so mutex around callbacks the only solution,
which means it cannot be used in very busy web servers because
concurrency will be an issue.
Richard Jones wrote:
> On Fri, Feb 20, 2004 at 12:05:30PM -0500, Vlad Seryakov wrote:
>
>>Hello,
>>
>>I am trying to embedd OCaml into Aolserver as second interpreter.
>>Aolserver is multithreaded web server which uses Tcl
>>as scripting language. Requestes are processed concurrently by calling
>>Tcl scripts. My intention is to add OCaml
>>to Aolserver so web pages written in Caml can be used for web programming.
>>
>>My question is, is it safe to use OCaml in such environment where many
>>different OCaml scripts can be executed.
>
>
> Have a look at this posting:
>
> http://caml.inria.fr/archives/200308/msg00258.html
>
>
>>I use Dynalink pacjage for dynamically loading object .cmo files.
>
>
> Dynlink is very fussy. I had lots of problems with it. You might
> like to look at mod_caml for ideas.
>
> Rich.
>
--
Vlad Seryakov
703 961-5433 office
vlad@crystalballinc.com
http://www.crystalballinc.com/vlad/
-------------------
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
next prev parent reply other threads:[~2004-02-20 17:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 17:05 Vlad Seryakov
2004-02-20 17:25 ` Richard Jones
2004-02-20 17:34 ` Vlad Seryakov [this message]
2004-02-20 17:35 ` Ranjan Bagchi
2004-02-20 17:43 ` Richard Jones
2004-02-20 17:54 ` Vlad Seryakov
2004-02-20 18:06 ` Richard Jones
2004-02-21 2:17 ` ChoJin
2004-02-22 12:09 ` clement
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=40364514.7050708@crystalballinc.com \
--to=vlad@crystalballinc.com \
--cc=caml-list@inria.fr \
/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