Re: Vala bindings for epiphany?

On Fri, Oct 02, 2009 at 06:00:07PM +0200, Wouter Bolsterlee wrote:
> Op vrijdag 25-09-2009 om 22:11 uur [tijdzone +0100], schreef Magnus
> Therning:
> > Does anyone out there have a .vapi for epiphany's extension API?
> > 
> > I'm particularly interested in the bookmark manipulation API.
> Afaik the idea is to have at least Seed extensions for Epiphany. Python
> support has been dropped, and it won't come back. I'm not sure about
> Vala, even though there were plans for it:
> But then, I think Seed extensions are designed fill exactly the same
> gap, so I'm not sure what the added value of Vala extensions is.

Epiphany has always supported  extensions written in C.  Basically Vala would
offer a way of writing C extensions in a language that arguably is much nicer
to work with :-)

My experience with trying to translate a Python extension to Seed was that it
wasn't ready for proper use yet:

 - Javascript doesn't include many of the handy types that is in Python,
   especially dictionaries (maps) and sets.  Vala has Gee.

 - The GNOME libraries are largely written in C, and even though introspection
   makes Seed bindings trivial the API's are distinctly non-object orientated.
   Vala's .vapi files manage to offer a much improved API.

In short, I've found Vala vastly more pleasant to work with for writing
Epiphany extensions compared to Seed.


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)          Jabber:|twitter: magthe

Attachment: pgpSYn1nYph93.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]