~/talk

Building Native Extensions. This Could Take A While...

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby, devops-and-delivery]
slides:none on file

Covers the concrete how and why of shipping native Ruby extensions: use mkmf and extconf.rb to compile, use miniporie or bundled tarballs to build upstream libs, and use rake-compiler-dock to cross‑compile and publish pre-compiled gems. Claims: precompiled installs drop from ~13–45s to under 1s, Nokogiri sees ~60 million precompiled downloads, and support issues fall from ~1/week to ~1/month. Also documents tradeoffs (security updates, musl vs glibc, lost platform optimizations) and recommends MFA and gem signing for supply‑chain trust.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08What is a C Extension
  3. 3:06Isolated
  4. 4:22Extconf
  5. 7:22Common Problems
  6. 9:02Third Party Libraries
  7. 10:49External Library
  8. 11:10System Strategy
  9. 13:07System Strategy Issues
  10. 14:39Package Up Libraries
  11. 16:36Security Updates
  12. 17:18Installation Time
  13. 18:07Nokigiri 111
  14. 22:49System Libraries
  15. 23:50Goodbye Fat Gems
  16. 26:57Trust
  17. 29:04Upcoming
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.