[Haskell-cafe] Re: [Haskell] ANNOUNCE: Harpy -- run-time code
generation library
Dirk Kleeblatt
klee at cs.tu-berlin.de
Fri May 11 07:49:21 EDT 2007
Hi Duncan,
Duncan Coutts schrieb:
> I was wondering what the need for ensureBufferSize is? Could this by
> automated? I would have thought that we could just check this when
> writing out a single instruction.
Yes, of course, this would be possible. The only reason is a performance
improvement when checking for buffer overflows as seldom as possible. We
use Harpy in a just-in-time compilation project for a functional
language, an my colleague wants to do this as fast as possible. But one
could argue that in a functional language library interface elegance is
more important...
Kind regards,
Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3212 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070511/5331b699/smime.bin
More information about the Haskell-Cafe
mailing list