Rubex is nearing a phase where it can be used in Ruby gems, and I think a great way to test it would be to port some slow parts of daru to Rubex to speed them up. Which parts are best for porting is to be discussed in this issue.
I recommend to look at ChunkyPNG's approach, at least at the beginning. Their speed-up extension, OilyPNG is distributed as a separate gem, that just replaces some performance-critical methods with compiled ones.
Rubex is nearing a phase where it can be used in Ruby gems, and I think a great way to test it would be to port some slow parts of daru to Rubex to speed them up. Which parts are best for porting is to be discussed in this issue.
https://github.com/v0dro/rubex