Re: [Vala] dova and glib
- From: Jürg Billeter <j bitron ch>
- To: Rob Taylor <rob taylor codethink co uk>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] dova and glib
- Date: Wed, 02 Feb 2011 18:46:28 +0100
On Tue, 2011-02-01 at 08:52 +0000, Rob Taylor wrote:
How about, in dova mode, you automatically create dova objects wrapping
the gobjects? Could be done explicitly (per vapi?) to make it obvious.
While this would theoretically work to some extent for Vala
applications, it would break for Vala libraries, at least when you use
GObject types in your API. It would also complicate things a lot as not
even the basic types such as strings have the same representation in the
two profiles - strings are ref-counted in Dova.
I think it makes more sense to keep the profiles separate from
language/compiler point of view and just make it easy to create Dova
bindings for GObject libraries based on gobject-introspection.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]