In "Hijacking System Calls with (m)ruby," Franck Verrot discusses the innovative approach of integrating Ruby into various applications through the use of mruby. The presentation highlights mruby's capability to allow developers to embed Ruby code within programs written in other languages, enabling the hijacking of system calls, which can significantly enhance functionality.
Key points discussed in the presentation include:
- Introduction to Franck Verrot: A French software engineer based in California, passionate about embedding Ruby in applications.
- Background and Interest in Ruby: Franck's interest in embedding Ruby began in 2014 with PostgreSQL's foreign data wrapper, leading to the development of Holly Corn, a product allowing Ruby code to back tables in PostgreSQL.
- Experiments with Other Databases: He replicated this concept with SQLite and is currently experimenting with Redis, which supports loadable modules for extending functionality.
- Future Directions: Franck aims to explore distributing computations across a network of mruby processes in his upcoming work.
- Understanding System Calls: System calls serve as the interface between programs and the operating system, facilitating requests for services. For instance, interactions in Ruby script that involve file operations rely on underlying system calls.
- Practical Illustration: Franck explains how to identify open files linked to processes and the system calls used in these interactions, underscoring the practical implications of system call hijacking.
The presentation emphasizes how hijacking system calls can be a powerful technique for leveraging Ruby's capabilities in various programming environments, paving the way for innovative applications. The audience is left with an understanding of the intersection between Ruby and system-level programming, and the potential for future exploration in this area.