Ruby FFI Module Tutorial (Example: Play MP3 with VLC)
I want to answer one simple question… What is FFI in Ruby? FFI stands for “Foreign Function Interface”. It’s a way to use functions defined in other programming languages. Ruby’s FFI module gives you access to external libraries & code that you wouldn’t have otherwise. We often use this to work with C code. Examples … Read more