ruby-llvm
ruby-llvm copied to clipboard
Why is "ext" folder needed?
Hello! I'm wondering why this gem includes ext
folder and requires compilation. I thought FFI bindings don't require compilation? Could you explain it to me, please? It's important to me.
Hi Adam,
ext/ contains some glue code written in C that bridges to some of the underlying C++ API. The Ruby library interfaces with this support code using FFI. (FFI relies on C calling conventions and cannot invoke C++ methods directly.)
HTH,
On Sunday, November 16, 2014, Adam Stankiewicz [email protected] wrote:
Hello! I'm wondering why this gem includes ext folder and requires compilation. I thought FFI bindings don't require compilation? Could you explain it to me, please? It's important to me.
— Reply to this email directly or view it on GitHub https://github.com/jvoorhis/ruby-llvm/issues/24.
Jeremy Voorhis
Thank you for the answer. Do you think it be circumvented in some way, without compilation?
The functionality could be removed, or contributed upstream..
On Sunday, November 16, 2014, Adam Stankiewicz [email protected] wrote:
Thank you for the answer. Do you think it be circumvented in some way, without compilation?
— Reply to this email directly or view it on GitHub https://github.com/jvoorhis/ruby-llvm/issues/24#issuecomment-63242750.
Jeremy Voorhis
OK, one more question: how this repo relates to ruby-llvm/ruby-llvm?
This one seems not maintained anymore. I thought it's official one.
Could you please update the README and point to official repository?
I can do that. I created the org when I realized there was more interest in the project than I had bandwidth, and others stepped up to help.
On Monday, November 17, 2014, Adam Stankiewicz [email protected] wrote:
OK, one more question: how this repo relates to ruby-llvm/ruby-llvm?
This one seems not maintained anymore. I thought it's official one.
Could you please update the README and point to official repository?
— Reply to this email directly or view it on GitHub https://github.com/jvoorhis/ruby-llvm/issues/24#issuecomment-63281867.
Jeremy Voorhis