[elephant-devel] Pure-Lisp memutil?

Ian Eslick eslick at csail.mit.edu
Mon Nov 20 15:02:01 UTC 2006


I suspect the original developers found that easier than doing all the
boxing and unboxing conversions for ints, floats, etc by hand.  Wrapping
memcpy in a function means UFFI writes that code for you.  Plus they got
to use sizeof trivially which can change for different machines. 
Finally, they already had a C library compilation happening for BDB.

Ian

Pierre THIERRY wrote:
> I was wondering why was C memutil needed. Couldn't it be possible to use
> memcpy and al. with FFI in CL code?
>
> Curiously,
> Pierre
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel



More information about the elephant-devel mailing list