From: Stephan Houben <stephan@pcrm.win.tue.nl>
To: Chris Hecker <checker@d6.com>, Pierre.Boulet@lifl.fr (Pierre.Boulet)
Cc: caml-list@inria.fr
Subject: Re: single-precision floats, etc.
Date: Thu, 19 Oct 2000 13:28:19 +0200 [thread overview]
Message-ID: <00101913321002.20543@pcrm> (raw)
In-Reply-To: <4.3.2.7.2.20001018081700.033cdef0@walt>
On Wed, 18 Oct 2000, Chris Hecker wrote:
> >I think that maybe what you are looking for is the bigarray library
> >that appeared with ocaml 3.00.
>
> I looked at that, but I really wanted to do the actual operations in caml code, not in a library (if possible). So, I'd like to write an LU decomposition routine in caml that's as fast as C code (or close enough), for example. Going out to another language is inconvenient at best, compared to just writing down the code you want (like you would in C).
But even 32 bit floats cannot be represented as an unboxed ML value, since
you need at least 1 other bit to tell you that it's not a pointer. (Otherwise
the precise GC will get confused.) This could of course be remedied if
Caml switched to a conservative GC, but then GC performance would
go down the drain.
--
ir. Stephan H.M.J. Houben
tel. +31-40-2474358 / +31-40-2743497
e-mail: stephanh@win.tue.nl
next prev parent reply other threads:[~2000-10-19 11:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Chris Hecker's message of "Mon, 16 Oct 2000 11:20:59 -0700">
2000-10-16 18:20 ` Chris Hecker
2000-10-18 13:53 ` Pierre.Boulet
2000-10-18 15:20 ` Chris Hecker
2000-10-19 11:28 ` Stephan Houben [this message]
2000-10-19 12:31 ` String.map ? Christophe Raffalli
2000-10-23 18:33 ` Anton Moscal
2000-10-19 11:37 ` single-precision floats, etc Xavier Leroy
2000-10-20 2:18 ` Chris Hecker
2000-10-19 9:11 ` Xavier Leroy
2000-10-23 13:28 ` Charles Martin
2000-10-25 3:22 ` Chris Hecker
2000-10-17 16:10 Damien Doligez
2000-10-18 8:39 ` Remi VANICAT
2000-10-18 8:41 ` Fermin Reig
2000-10-18 9:51 ` Chris Hecker
2000-10-18 1:17 David Gurr
2000-10-18 9:56 ` Chris Hecker
2000-10-19 23:50 David Gurr
2000-10-20 13:02 ` jean-marc alliot
2000-10-27 21:39 ortmann
2000-10-29 6:18 ` Chris Hecker
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=00101913321002.20543@pcrm \
--to=stephan@pcrm.win.tue.nl \
--cc=Pierre.Boulet@lifl.fr \
--cc=caml-list@inria.fr \
--cc=checker@d6.com \
--cc=stephanh@win.tue.nl \
/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