2007/4/2, Alex Queiroz <[EMAIL PROTECTED]>:
Hallo,

On 4/2/07, Graham Fawcett <[EMAIL PROTECTED]> wrote:
>
> Neat, huh? There's also the easy-ffi, lazy-ffi, etc. Chicken's really
> good at this kind of thing, if you're the kind of person who likes
> having choices.
>

     I guess there are so many ffi choices because it must be a pain
to write pure C extensions, judged by what I've seen from chicken's
output. But I think that's inevitable given how Chicken uses the
machine stack.

Well, in fact I found very practical to made that sort of stuff.
Write your C code then just a bit of Scheme so that Chicken is aware
of the C code. Compile, that's it.

What's more, given chicken-setup, it's also easy to make your library
available to the community.

Graham, I did the example that way because I like to separate C from Scheme :
- if I want to move more to C side for performance, it will be easier
- I keep in my head the possibility to make the library available as
widely as possible by keeping it in C and making bindings for other
languages.

Cheers,
(And I get caught by April 1 :)
thu


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to