-
Notifications
You must be signed in to change notification settings - Fork 61
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
Integration with rb-sys
#163
Comments
Hi @ianks, Rutie allows for builds to work in both directions. So yes it allows Ruby to integrate Rust into Ruby, but it also allows Rust to integrate Ruby into Rust. I get the benefit of a standardized way setup as the foundation on which Rutie can be used to help Rust integrate into Ruby. But have you done an initial survey of this project to see how good of a fit it would be and how feasible it is to do without detracting from the Rust integrating Ruby into Rust side of things? We currently have some Windows developers working on seeing how we can have Rutie better supported on that platform, which is exiting, so I'd like to know the impact of what changes need to come. Depending on the answer I may be in favor of moving forward with this. But I'm not going to give the full go ahead without much more serious consideration given to it. Thanks! |
Hey @danielpclark,
For window, [ Enjoy your weekend! |
I'd like you to move forward with this if you have the time. I expect not everything will work initially but we'll cross that bridge when we get there. |
FYI @goyox86 has stepped up and volunteered to do this 🙏🏻 |
Managed to send a PR moving to I also experimented a branch to have both implementations with Cargo features, not sure if I like it xD |
@goyox86 Great work! I love seeing progress made on this and it looks like you're making good headway. Is the rampant use of Also I prefer having the named |
Hello there @danielpclark ! Sorry for the radio silence, I have been a bit busy with work. Regarding your comment, I think I am using Currently I am focused on making |
Hi there!
I’ve been working on
rb-sys
. The main goal of the project is to make building native extensions in Rust easier than C.Traditionally, most Ruby/Rust gems have packaged their own Ruby bindings. As you know, there are many edge cases and supporting these bindings across multiple platforms can be a total pain. With
rb-sys
, the goal is remove that burden. Some features are:I would love to add support for
rb-sys
to Rutie if you are interested. I recently made the switch this for magnus and things went smoothly. For Rutie, I imagine it will solve a lot of build issues (particularly with libruby-static, and upcoming changes with Ruby 3.2). On top of this, it will make it easier for Rutie users to cross compile gems.Let me know if this sounds like something you would accept. Happy to start working on it!
The text was updated successfully, but these errors were encountered: