[lxc-devel] Adding Crystal API for LXC

Ranjib Dey dey.ranjib at gmail.com
Sun Jan 3 17:28:14 UTC 2016


ruby-lxc uses C binding to talk to liblxc underneath. You have to write
crystal bindings from scratch using crystal's[1] own API. It should be lot
easier than the ruby bindings, as crystal's C api is more streamlined and
minimal.

[1]http://crystal-lang.org/docs/syntax_and_semantics/c_bindings/index.html

On Sun, Jan 3, 2016 at 2:12 AM, Bar Hofesh <bar.hofesh at safe-t.com> wrote:

> Hello,
>
> My team is currently moving from Ruby to Crystal (http://crystal-lang.org/
> ).
> I'm using your ruby-lxc gem to automate and spin-up containers in a
> project, What would be the process for creating a crystal-lxc binding ?
> would you accept a PR or do you only build it your-self ?
>
> Thanks,
>
> --
>
> *[image: Safe-T.com] Bar Hofesh*
> Information Security Architect
> www.Safe-T.com
>
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160103/2df911a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1623 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160103/2df911a0/attachment.jpg>


More information about the lxc-devel mailing list