[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] subordinate SMOBs with GOOPS superclasses
From: |
Ludovic Courtès |
Subject: |
Re: [patch] subordinate SMOBs with GOOPS superclasses |
Date: |
Tue, 11 Dec 2007 16:02:37 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi Andreas,
Andreas Rottmann <address@hidden> writes:
> You should probably also have a look at the Scheme-Level FFI of PLT
> Scheme[1], and my reimplementation for Scheme 48[2].
Thanks for the links, that's the kind of think I had in mind. Perhaps
you'd like to port S42 to Guile as well? :-)
BTW, there's one small potential issue with the dynamic construction of
function calls like this: it's almost impossible to catch API/ABI
inconsistencies beforehand.
For instance, if one wraps `strcmp' from Scheme as if it were, say,
"char *strcmp (int, double, float)", it's impossible to catch the
problem before actually calling the wrapped `strcmp'. Symbol versioning
could help in some cases, but I don't think it's readily usable (and
probably not portably). Conversely, good old C wrappers (be they
generated or not) would most likely catch such problems at
compilation-time.
Any thoughts about this?
Thanks,
Ludovic.
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Andy Wingo, 2007/12/05
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Ludovic Courtès, 2007/12/09
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Andreas Rottmann, 2007/12/09
- Re: [patch] subordinate SMOBs with GOOPS superclasses,
Ludovic Courtès <=
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Klaus Schilling, 2007/12/12
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Neil Jerram, 2007/12/12
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Clinton Ebadi, 2007/12/12
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Klaus Schilling, 2007/12/13
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Ludovic Courtès, 2007/12/13
- Re: [patch] subordinate SMOBs with GOOPS superclasses, Ludovic Courtès, 2007/12/13