caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Interfacing with C question...
Date: Thu, 25 Jan 2007 16:16:02 -0800	[thread overview]
Message-ID: <45B94842.7090506@rftp.com> (raw)
In-Reply-To: <1169749795.5333.17.camel@rosella.wigram>

skaller wrote:
> ...
> It takes a bit of reading, thinking, and question asking
> to figure the gc out, but it is worth it: it really isn't that
> hard and IMHO the higher level macros just confuse things
> by obscuring the real constraints.
> 
> [Once you know how it works .. *then* you can use the
> higher level macros because you then know what they're
> sugar for .. :]

While understanding what is going on under the covers *is* important, 
there is a key reason for using the macros: as the documented and 
recommended interface to the OCaml GC machinery, their use gives you a 
much better chance that your code will easily / automagically survive 
changes to the GC mechanism in the future... like if direct support of 
multi- cores and processors ever becomes a reality. ;)

Robert Roessler
roessler@rftp.com
http://www.rftp.com


      reply	other threads:[~2007-01-26  0:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24 17:23 David Allsopp
2007-01-25  6:27 ` [Caml-list] " Remi Vanicat
2007-01-25 16:26 ` Hendrik Tews
2007-01-25 18:29   ` skaller
2007-01-26  0:16     ` Robert Roessler [this message]

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=45B94842.7090506@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).