bindings for libvirt

Due to the direction things are going at work, I have become interested in Haskell bindings for libvirt. Noticed that this hasn't been done yet. I was wondering if this was due to lack of motivation, or if there were some difficult hurdles with libvirt that make the project cost-prohibitive. If it's the former, I don't see a problem proceeding with exploration. If it's the latter, I'd like to know what the hurdles are.

Michael Litchard wrote:
Due to the direction things are going at work, I have become interested in Haskell bindings for libvirt. Noticed that this hasn't been done yet.
Interesting!
I was wondering if this was due to lack of motivation, or if there were some difficult hurdles with libvirt that make the project cost-prohibitive.
Well there are already Ocaml bindings for libvirt http://libvirt.org/ocaml/ so its most likely the former. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

That's encouraging!
On Sun, Jan 15, 2012 at 1:41 PM, Erik de Castro Lopo
Michael Litchard wrote:
Due to the direction things are going at work, I have become interested in Haskell bindings for libvirt. Noticed that this hasn't been done yet.
Interesting!
I was wondering if this was due to lack of motivation, or if there were some difficult hurdles with libvirt that make the project cost-prohibitive.
Well there are already Ocaml bindings for libvirt
so its most likely the former.
Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

Michael Litchard wrote:
That's encouraging!
In fact, since FFI bindings are usually easier in GHC Haskell than in Ocaml, you should have it done by the end of the week :-). Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

The author of libvirt, Richard Jones, is an OCaml hacker.
G
------------------
-----Original Message-----
From: Michael Litchard
Michael Litchard wrote:
Due to the direction things are going at work, I have become interested in Haskell bindings for libvirt. Noticed that this hasn't been done yet.
Interesting!
I was wondering if this was due to lack of motivation, or if there were some difficult hurdles with libvirt that make the project cost-prohibitive.
Well there are already Ocaml bindings for libvirt
so its most likely the former.
Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Gaius Hammond wrote:
The author of libvirt, Richard Jones, is an OCaml hacker.
libvirt has many authors. See the git repo commit history: http://libvirt.org/git/?p=libvirt.git;a=summary Richard Jones is however the the main author of the Ocaml bindings: http://libvirt.org/ocaml/ChangeLog.txt Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

On 16 янв, 03:27, Michael Litchard
Due to the direction things are going at work, I have become interested in Haskell bindings forlibvirt. Noticed that this hasn't been done yet. I was wondering if this was due to lack of motivation, or if there were some difficult hurdles withlibvirtthat make the project cost-prohibitive. If it's the former, I don't see a problem proceeding with exploration. If it's the latter, I'd like to know what the hurdles are.
Hello. For my current projects, i'd also like to have bindings to libvirt. I even started to write something for them, using c2hs. If someone is interested, i could put my current (very basic) code to, say, github… Seems there will no big problems, but libvirt API is not so small, so it'll take time to write full bindings. WBR, Ilya Portnov.

Ilya,
Yes please. Examining your code would go a long way toward
helping me with this project.
On Mon, Jan 23, 2012 at 9:26 PM, Ilya Portnov
On 16 янв, 03:27, Michael Litchard
wrote: Due to the direction things are going at work, I have become interested in Haskell bindings forlibvirt. Noticed that this hasn't been done yet. I was wondering if this was due to lack of motivation, or if there were some difficult hurdles withlibvirtthat make the project cost-prohibitive. If it's the former, I don't see a problem proceeding with exploration. If it's the latter, I'd like to know what the hurdles are.
Hello.
For my current projects, i'd also like to have bindings to libvirt. I even started to write something for them, using c2hs. If someone is interested, i could put my current (very basic) code to, say, github...
Seems there will no big problems, but libvirt API is not so small, so it'll take time to write full bindings.
WBR, Ilya Portnov.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

24.01.2012 10:50, Michael Litchard writes:
Ilya, Yes please. Examining your code would go a long way toward helping me with this project.
Ok, I published my current code at gitorious: https://gitorious.org/libvirt-hs. Please feel free to contribute, or even use (it's quite uncomplete currently) :) Bug reports, suggestions and patches are also welcome. WBR, Ilya Portnov.

Ilya Portnov wrote:
For my current projects, i'd also like to have bindings to libvirt. I even started to write something for them, using c2hs. If someone is interested, i could put my current (very basic) code to, say, github…
+1 Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
participants (4)
-
Erik de Castro Lopo
-
Gaius Hammond
-
Ilya Portnov
-
Michael Litchard