Shared Libraries: How Ruby and C Work Together
If you take a look under the hood, you might be surprised at how much Ruby depends on C. MRI is written in C. Gems use C for performance. And much of Ruby’s standard library consists of Ruby wrappers for C libraries. In this article we’ll discover how this is possible by building our own small C library and using it in Ruby. http://www.rubyletter.com/blog/2017/03/03/using-shared-libraries-in-ruby.html
Post a comment