Better support for C extensions in TruffleRuby

08-Feb-2019 2292
We think it is crucial that any alternative Ruby implementation aiming to be fully compatible with MRI runs the C extensions. TruffleRuby's compatibility was recently significantly improved, with much better support that almost completely removes the need to patch C extensions.We've been able to support C extensions in TruffleRuby for a long time now, but we've always had to patch them while building the C for them to work. We've just added much better support which almost completely removes the need to patch extensions. In this article I'll explain how Truffle based languages can support polyglot calls, how C extensions used to work in TruffleRuby, how they now work, and what the remaining differences are with MRI.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle