[plt-scheme] GTK Hooks for drscheme?

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Sep 3 09:17:07 EDT 2004

On Sep  3, Neil W. Van Dyke wrote:
> My new bindings philosophy, as of PostgreSQL, is to mimic a library's C
> API as much as possible, with a straightforward mapping between C and
> Scheme APIs, while making it crash-proof.  This makes documentation
> easy, and makes it harder for me to mis-design things.  Then later I and
> others can provide optional layered libraries, written in pure Scheme,
> that provide higher-level interfaces and conveniences.

Yes, that's exactly the philosophy I used for the foreign interface.
Even more than that -- if some crash-proofing requires non-trivial
code, then I'd leave it for the Scheme side.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.