Re: [Vala] True vala introspection
- From: "Michael Lawrence" <mflawren fhcrc org>
- To: "Sam Liddicott" <sam liddicott com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] True vala introspection
- Date: Mon, 30 Jun 2008 09:32:20 -0700
On Sun, Jun 29, 2008 at 8:21 AM, Sam Liddicott <
sam liddicott com> wrote:
Its not a matter of which language implements the interface but which language consumes the interface.
The interface may still be implemented in C but vala code will be writen to call upon the interface.
This is true in the special case of C and Vala. I was referring to the more general problem of using GIR to interface between any languages X and Y. Like Vala to a pygobject-based python script.
Sam-----Original Message-----
From: Michael Lawrence <
mflawren fhcrc org>
Sent: 28 June 2008 17:33
To: Sam Liddicott <
sam liddicott com>
Cc:
vala-list gnome orgSubject: Re: [Vala] True vala introspection
I see. This brings an interesting point -- the current form of gir does not seem to have any way to indicate the language that implements the interface. Right now of course it is assumed to be C. It would probably work for Vala, but e.g. a code generator would not know that it needs to target Vala rather than C or something else. There are other considerations for cross-language support, like supporting dynamically-typed languages by making any type specifications optional.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]