[plt-scheme] Re: image manipulation

From: John Clements (clements at brinckerhoff.org)
Date: Thu Mar 25 14:20:06 EST 2004

On Mar 25, 2004, at 1:50 PM, John Kozak wrote:

>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> [...]
>> This has one benefit--less duplicated C code--but two problems:
>> 1) To make the scheme code "aware of" the representation mappings
>> involves either parsing GL header files or duplicating this
>> information manually.
>> 2) Scheme code that wanted to use the GL library portably would then
>> _also_ have to be "aware of" these mappings.  Bleah!
> Well, it's not _that_ bad: the C bit of the interface would contain
> code like:
> scheme_add_global("silly-float-size",sizeof(GL_silly_float),mod_env);
> and the scheme bit would use these values to map SRFI 4 homovectors to
> SGL ones.  No _user_ code need ever know.

Yes, you could preserve (or 'reintroduce,' essentially) the separation 
at the scheme level, that's true.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2379 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20040325/0270e88c/attachment.p7s>

Posted on the users mailing list.