From: Jonathan Roewen <jonathan.roewen@gmail.com>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Changing implementations of standard libraries...
Date: Sun, 30 Oct 2005 13:45:17 +1300 [thread overview]
Message-ID: <ad8cfe7e0510291745o7a347a56o9992c50d4b6a340@mail.gmail.com> (raw)
In-Reply-To: <1130585800.15589.131.camel@localhost.localdomain>
> > What changes does -vmthread make to the compiler when generating code?
>
> AFAIK, the generated code is the same.
It must change -something- somewhere, else what's the point of it?
> A different version of the stdlib is linked.
Okay, I can understand that. Would the effect be the same as -nostdlib
and -nopervasives, and providing own includes & implementations?
What effect does -nopervasives have? Can I still provide my own
implementation? What's the way to go here?
> Yes. But you cannot implement in O'Caml when the function is external
> because this is part of the interface, at least if you need binary
> compatibility.
Yes, but in most cases, the external keyword can be hidden from the
.cmi, and only specified in .ml/.cmo -- I see examples of this in
OCaml standard lib, and do this myself in most cases.
Jonathan
next prev parent reply other threads:[~2005-10-30 0:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 3:47 Jonathan Roewen
2005-10-29 11:36 ` Gerd Stolpmann
2005-10-30 0:45 ` Jonathan Roewen [this message]
2005-10-30 1:12 ` Jonathan Roewen
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=ad8cfe7e0510291745o7a347a56o9992c50d4b6a340@mail.gmail.com \
--to=jonathan.roewen@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=info@gerd-stolpmann.de \
/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).