C
The C programming language is important to Ruby as the language in which CRuby (a.k.a. MRI) is written.
- The C Programming Language is considered by most to be the definitive description.
- “C” at Wikipedia
The C programming language is important to Ruby as the language in which CRuby (a.k.a. MRI) is written.
Avoid pesky segmentation faults in Ruby native extensions! Join Jeremy Evans to learn the correct use of the Ruby C API to ensure memory is freed when-and ONLY when-it is …
Looking to optimize some critical Ruby code with a native extension? Join veteran library maintainer Jeremy Evans for a demonstration of how to write Ruby C extensions that won't leak …
Learn the twin pillars at the root of the UNIX process-spawning architecture!
If you're making subprocesses on a UNIX-like OS, you're using fork(). Learn all about using fork() from Ruby.
Understand once and for all how, when, and why to open files in binary mode.
Windows users can feel like second-class-citizens in the Ruby world. Ruby gems and tools often don’t work quite right on Windows hosts. But we can fix this. Making your code …
In part 2 of this series, we buy ourselves some peace of mind with a simple smoke test. The code for this episode can be found here: https://github.com/avdi/pulse-ffi/tree/RubyTapas047
With the FFI Gem, building wrappers for C libraries is easier than ever. This episode gives a brief overview of building the beginnings of a Ruby interface to the Linux …