"Ruby native extensions and what's wrong with them"
summary
A scanner that crawls GitHub and downloaded gem packages extracts extconf.rb files, parses the ad hoc C bindings, and builds a gem→library cache showing which gems require which native libraries. The analysis finds thousands of gems with nonstandard extension scripts that defeat simple regex parsing, and many gems silently depend on system dev packages (libssl-dev, libpq-dev, etc.). A working prototype maps gems to required libraries but still needs translation from libraries to OS packages for Ubuntu, CentOS and Alpine.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 1:03Challenges with Ruby gems
- 2:41Automating dependency management
- 4:45Native extensions analysis
- 7:10Standardization limitations
- 10:42Developing a mapping tool
related talks
30mBuilding Native Extensions. This Could Take A While...
24mThe State of C Extensions: Alive and Well, so Learn to Deal
29mRuby-red onions: Peeling Back Ruby's Layers in C Extensions
38mLong journey of Ruby standard library
35mRuby’s C Extension Problem and How We're Solving It
31mHacking with Gems
42mExtending Gems - Patterns and Anti-Patterns of Pluggable Gems
06m⚡️ You Might Not Need Gems
