r/ruby • • Jan 24 '20

16 New ML Gems for Ruby

https://ankane.org/new-ml-gems
132 Upvotes

15 comments sorted by

View all comments

3

u/xc68030 Jan 24 '20

This is awesome. I wish I had known a few years back how easy it is to wrap the C++ libraries. I would have likely made some gems. Instead I went the JRuby route.

2

u/rubygeek Jan 24 '20

Frankly, this article is almost as great both for the summary round-up of ways to wrap C/C++ and for the machine learning bit. I was aware of a few (Swig, FFI, the MRI C API) but several others I've not looked at that I'll definitively spend some time on.