Hacker News new | past | comments | ask | show | jobs | submit login

The guestfs API and bindings in all the languages are generated -- by a large OCaml program.

https://github.com/libguestfs/libguestfs/tree/master/generat...

For an API that has 400 or so calls accessible through a dozen different programming languages, this makes sense. The bindings in each language are never out of date or wrong (except of course they can have a systematic bug, but those are much easier to fix).

This also makes it very easy to generate alternate "views" of the same API, like OCaml module vs OO views.




Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: