[haiku] Re: [GSoC] Python Bindings for the Haiku API

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 29 Mar 2010 17:41:46 -0400

On Mon, Mar 29, 2010 at 6:01 AM, Ankur Sethi <get.me.ankur@xxxxxxxxx> wrote:
>
> I'm currently trying to grok the Python FFI, after which I'll try my
> hand at adding something to Niels' bindings.
>
> Love to hear everyone's thoughts on this :)

Well I think the general idea is great, with the exception that my
scripting language of choice is Ruby :)

But I think in the long run it would be great to have nice bindings
for the Haiku API in various languages, with some commonalties where
appropriate and otherwise with designs that fit in well with the
language's idioms (be that Pythonic, Rubyish or whatever.) And even
though I'm not a skilled Python developer I could see myself using
that API if there wasn't a Ruby binding.

But fortunately I have been in contact with a student, Akshay Gupta,
who is interested in making a Haiku Ruby binding in much the same way
you are interested in doing this Python binding. In fact he has been
looking also at Niels' work and I suspect there is some amount of
overlap and these projects should probably collaborate to some extent.

In regards to the declarative UI idea, I think it is great, and the
general idea of declarative code and Domain Specific Languages (DSLs)
is very big in the Ruby community. Though my first choice for a
declarative UI language would not be XML, at least not for Ruby.
Though I suppose there is something to be said for borrowing some
concepts from XUL or XAML.

-- 
Regards,
Ryan

Other related posts: