Note
Since the time this post was written, the ext option has been added to bundler, which automatically configures a new gem to be a na...
For further actions, you may consider blocking this person and/or reporting abuse
Cool! I haven't created a native extension yet but this got me researching other alternatives and I found Helix, looks like it lets you write type safe performant Ruby classes in Rust. What's really interesting is that you can use any arbitrary Rust crate in your code.. Gonna have to find a reason to use this π
I haven't used Helix before, but it does seem interesting. I know there are other alternatives for writing native exntesions in Crystal and in Java. I wonder if they differ significantly in performance.
As told there usehelix.com/roadmap#performance-p...
Here is another interesting tutorial about how to write C extensions.