~/talk

Calling Native Code From Ruby

Talkat eurucamp 2015 · 2015-07-31..08-02· [ruby]

CocoaPods’ xcodeproj removes its painful C extension by using Fiddle (MRI since 1.9) to call CoreFoundation for plist read/write and private Xcode APIs, loading symbols with dlopen/dlsym and caching function objects to avoid repeated setup. A simple name check triggers manual create/auto‑release handling and Objective‑C calls go through objc_msgSend. The result: no user compile failures (projects report >200 compile issues for C extensions), working wrappers but with a clear performance caveat.

AI-written summary · about

  1. 0:00Start
  2. 0:06Calling native code from Ruby
  3. 0:50Because nobody got time to deal with user's compiler problems
  4. 2:35Fiddle!
~/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.