<div dir="ltr">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.<div><br><div>[1]<a href="http://crystal-lang.org/docs/syntax_and_semantics/c_bindings/index.html">http://crystal-lang.org/docs/syntax_and_semantics/c_bindings/index.html</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 2:12 AM, Bar Hofesh <span dir="ltr"><<a href="mailto:bar.hofesh@safe-t.com" target="_blank">bar.hofesh@safe-t.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
    
  
  <div style="direction:ltr" bgcolor="#FFFFFF" text="#000000">
    <font face="Tahoma">Hello, <br>
      <br>
      My team is currently moving from Ruby to Crystal
      (<a href="http://crystal-lang.org/" target="_blank">http://crystal-lang.org/</a>).<br>
      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
      ? <br>
      <br>
      Thanks,<span class="HOEnZb"><font color="#888888"><br>
       <br>
    </font></span></font><span class="HOEnZb"><font color="#888888">
    <div>-- <br>
      
      
      
      <div>
        <div dir="ltr">
          <div style="text-align:left"><b><span style="font-size:13.0pt;font-family:"Candara","sans-serif";color:#404040"><img alt="Safe-T.com" src="cid:part1.09070903.02010702@safe-t.com" height="40" width="122"><br>
                Bar Hofesh</span></b><span style="font-family:"Candara","sans-serif";color:#404040"><br>
            </span><span style="background-color:rgb(255,255,255)"><span>Information



                Security Architect</span></span><span style="font-family:"Candara","sans-serif";color:#404040"></span><span style="font-family:"Candara","sans-serif";color:#404040"><br>
              <a href="http://www.Safe-T.com" target="_blank">www.Safe-T.com</a></span></div>
        </div>
        <br>
      </div>
    </div>
  </font></span></div>

<br>_______________________________________________<br>
lxc-devel mailing list<br>
<a href="mailto:lxc-devel@lists.linuxcontainers.org">lxc-devel@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-devel" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-devel</a><br>
<br></blockquote></div><br></div>