Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is "ext" folder needed? #24

Open
sheerun opened this issue Nov 16, 2014 · 5 comments
Open

Why is "ext" folder needed? #24

sheerun opened this issue Nov 16, 2014 · 5 comments

Comments

@sheerun
Copy link

sheerun commented Nov 16, 2014

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.

@jvoorhis
Copy link
Owner

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
#24.

Jeremy Voorhis

@sheerun
Copy link
Author

sheerun commented Nov 16, 2014

Thank you for the answer. Do you think it be circumvented in some way, without compilation?

@jvoorhis
Copy link
Owner

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
#24 (comment).

Jeremy Voorhis

@sheerun
Copy link
Author

sheerun commented Nov 17, 2014

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?

@jvoorhis
Copy link
Owner

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
#24 (comment).

Jeremy Voorhis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants