caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven Luther <luther@dpt-info.u-strasbg.fr>
To: Oleg <oleg_inconnu@myrealbox.com>
Cc: malc <malc@pulsesoft.com>, caml-list@inria.fr
Subject: Re: [Caml-list] native code toplevel
Date: Sun, 17 Nov 2002 08:41:00 +0100	[thread overview]
Message-ID: <20021117074100.GA991@iliana> (raw)
In-Reply-To: <200211170224.gAH2OK104280@nez-perce.inria.fr>

On Sat, Nov 16, 2002 at 09:24:10PM -0500, Oleg wrote:
> On Saturday 16 November 2002 06:16 pm, malc wrote:
> > On Sat, 16 Nov 2002, Oleg wrote:
> > > Hi
> > >
> > > I found the same question in the archives, but with no answers: why isn't
> > > there a native code toplevel? Sometimes I need high performance and
> > > interactivity (CMUCL can do it, why not O'Caml?)
> >
> > Let's see. We have following obstacles:
> > a) Ocaml relies on external tools to generate native code (assembler,
> >    linker)
> 
> It could call those external tools. Why not?

Because you have to have them installed in order to use it, as well as
the ocamlopt compilers also.

> > b) Ocaml has no way to dynamically load .cmx or .cmxa
> 
> I don't know about other platforms, but Solaris and Linux have dlopen, dlsym 
> and dlclose. Couldn't it use those?
> 
> > And here is a real show stoper - no way to pick suitable name for the
> > executable, i mean, ocaml - toplevel, ocamlc - compiler, ocamlopt -
> > "optimizing" compiler. Quite simply, there is no space for such a beast.
> 
> I would readily give up bytecode for native code. Alternatively, I would 

Until you begin working on linux/hppa or linux/s390 for example, which has no
native code compiler.

Friendly,

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


  reply	other threads:[~2002-11-17  7:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-16 14:32 Oleg
2002-11-16 23:16 ` malc
2002-11-17  2:24   ` Oleg
2002-11-17  7:41     ` Sven Luther [this message]
2002-11-17 14:00       ` Oleg
2002-11-17 11:21     ` malc
2002-11-17 10:20   ` Stefano Zacchiroli
2002-11-17 23:59     ` Jacques Garrigue
2002-11-18  0:31       ` Walid Taha
     [not found]       ` <Pine.GSO.4.33.0211171823060.28956-100000@frosty.cs.rice.ed u>
2002-11-18  1:00         ` Chris Hecker
2002-11-18  1:04       ` Oliver Bandel
2002-11-17  8:16 ` Basile STARYNKEVITCH
2002-11-17  8:35   ` Sven Luther

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=20021117074100.GA991@iliana \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    --cc=malc@pulsesoft.com \
    --cc=oleg_inconnu@myrealbox.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).