Linkers
11-Jun-2020 1688
I recently learned that linkers are really cool.That led me to a fun exploration of how linux linkers work, and how Ruby C extensions rely on them.I always knew that Ruby C extensions existed (that they break all the time is a constant reminder…) but I never really connected the dots between “here’s some C code” and how Ruby actually runs that code.Ruby C extensions are just shared libraries following certain conventions. Specifically, a Ruby C extension might look like this:.
Linkers #ruby #rubydeveloper #rubyonrails #Linkers https://rubyonrails.ba/link/linkers