Re: [Gegl-developer] Returning to python-gegl

2015-02-12 Thread jcupitt
On 12 February 2015 at 16:30, Joao S. O. Bueno gwid...@mpc.com.br wrote:
 Otherwise, I think I will rewire the python bindings using another
 method to bridge to the C library, which is more predictive and better
 supported.

I've made a Python binding for my largish C library using
gobject-introspection and not had any serious problems. It was a bit
wonky a year or so ago, but it honestly seems OK now. Performance is
good too, and I don't see any memory leaks. I'm very grateful for it.

I've been trying to make a Ruby binding in the same way and oh dear oh
dear it's a lot harder :(

John
___
gegl-developer-list mailing list
List address:gegl-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list



[Gegl-developer] Returning to python-gegl

2015-02-12 Thread Joao S. O. Bueno
Hi -

after several months I am taking back a look at my Python bindings for GEGL,
which make use of gobject introspection.

The situation with gobject introspection is none but frustrating - maybe
one could use it, if he could live in #gobject on irc - but there seens to be
no documentation resources wherever.

Moreover, it does not work very well,
whenever something is not available using the auto-generated bindings,
there is no workaround, but to make/request changes on the upstream project
and wait for a new release.

Add to that things that simply stop working
(I just found out I can no longer instantiate a geglBuffer with the gobject
introspection - and the solution in my package is a hack already to workaround
the constructor failing in the past)

Moreover, the latest GEGL stable release is still built with introspection off -
so people can't make use of the Python bindings without rebuildoing
GEGL themselves,
as all distros ship the package without the gir  files.

But -- I may be wrong --- people may be firmly committed to gobject
introspection,
and it may be the future, and it is my fault not learning it right -
And this is the main motivation for this message:
Doo anyone believe/think/can explain/ if gobject introspection has a
future at all?

Otherwise, I think I will rewire the python bindings using another
method to bridge to the C library, which is more predictive and better
supported. (I also accept suggestions for that -
since I prefer working in Python itself, my options would be ctypes or cython)

  js
 --
___
gegl-developer-list mailing list
List address:gegl-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list