Re: Introspection API
- From: Dave Benson <daveb idealab com>
- To: John Ehresman <jpe wingide com>
- Cc: "Gustavo J. A. M. Carneiro" <gjc inescporto pt>, language-bindings gnome org, Matthias Clasen <mclasen redhat com>, gtk-devel-list gnome org, Colin Walters <walters verbum org>
- Subject: Re: Introspection API
- Date: Fri, 25 Feb 2005 09:51:44 -0800
On Fri, Feb 25, 2005 at 12:12:30PM -0500, John Ehresman wrote:
> Dave Benson wrote:
> >a small c program to generate GValue marshallers from the metadata
> >seems pretty straightforward. such marshallers should probably
> >be compiled at the same time as the metadata... i think.
>
> Yes, but what's the advantage of using compiled marshallers over using
> libffi? Are you concerned about portability? I wonder if mozilla uses
> libffi or if they have their own mechanism for foreign calls.
yeah, portability.
it's not very encouraging that everyone seems to adopt
their own local copy of libffi. it means trying out
glib on new platforms is going to be a pain, subject to
bugs, etc. by contrast, generating marshallers is totally
portable, and we do it anyways, i believe, for signals.
- dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]