From: "Nathaniel Gray" <n8gray@gmail.com>
To: "Olivier Andrieu" <oandrieu@nerim.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Help interfacing with C
Date: Mon, 21 Aug 2006 15:35:06 -0700 [thread overview]
Message-ID: <aee06c9e0608211535q267412d5g40fbc1ce496118dd@mail.gmail.com> (raw)
In-Reply-To: <17638.52236.924575.106942@karryall.dnsalias.org>
On 8/19/06, Olivier Andrieu <oandrieu@nerim.net> wrote:
> Nathaniel Gray [Friday 18 August 2006] :
> > Now of course this could all be done at the ocaml level, but
> > wouldn't it be nicer to do the elegant thing in the first place
> > instead of cleaning up the mess afterwards? ;^)
>
> Erm, doing things on the C side isn't especially "elegant",
> sorry. It's way more error-prone, more complicated to compile/link
> against, and in your case it's not even portable (your version is
> Unix-only).
I see. In that case I move we eliminate the whole Unix module. It's
all written in error-prone, complicated, non-portable C!
The point is that we need *some* interface to the select system call.
By it's nature, it must be written in C. We can, with very little
work (about 10-20 LOC or less), have a more elegant interface to the
select system call that reduces the amount of cruft needed to make a
typical select call. I'm doing this work, because it's useful to me.
Because I believe it could be useful to others, I'm also trying to
create a patch against the compiler for submission to the ocaml team.
I'm not claiming it's a revolutionary change or massively faster, just
an interface that's more pleasant to program with.
Cheers,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
next prev parent reply other threads:[~2006-08-21 22:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-16 19:34 Nathaniel Gray
2006-08-17 3:49 ` [Caml-list] " malc
2006-08-18 21:00 ` Nathaniel Gray
2006-08-17 5:56 ` Bardur Arantsson
2006-08-18 7:10 ` [Caml-list] " Olivier Andrieu
2006-08-18 15:50 ` Bardur Arantsson
2006-08-18 21:33 ` [Caml-list] " Nathaniel Gray
2006-08-18 22:24 ` Bardur Arantsson
2006-08-19 0:33 ` [Caml-list] " Nathaniel Gray
2006-08-19 6:03 ` Bardur Arantsson
2006-08-21 22:45 ` [Caml-list] " Nathaniel Gray
2006-08-19 8:30 ` Olivier Andrieu
2006-08-21 22:35 ` Nathaniel Gray [this message]
2006-08-19 9:03 ` Richard Jones
2006-08-19 9:41 ` skaller
2006-08-18 8:46 ` [Caml-list] " Damien Doligez
2006-08-18 20:09 ` Nathaniel Gray
2006-08-23 23:36 ` Nathaniel Gray
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=aee06c9e0608211535q267412d5g40fbc1ce496118dd@mail.gmail.com \
--to=n8gray@gmail.com \
--cc=caml-list@inria.fr \
--cc=oandrieu@nerim.net \
/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