Linkers
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 https://www.rubyonrails.ba/single/linkers