This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: G-wrap to help with translations


Jim Blandy writes:
 > 
 > If you're writing your C code for Guile, it's definitely nicer to have
 > it work directly with Scheme datatypes.  I think the best Scheme-level
 > interfaces arise that way.  Wrapper generators are best when dealing
 > with existing or independently maintained code.
 
 Is the image-smob example in the data-rep doc an example for the direct
strategy, as opposed to wrapping?

 Or does that mean that one should even avoid smobs and do with the built-in
Scheme datatypes that guile provides? 
 
 > 
 > So you're really looking for tools that make it easier to write new C
 > code designed to work with Guile.
 > 
Do other Lisp dialects have something for that purpose, which could serve as
an example?  

Klaus Schilling