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