These are some hacks I use. This gem exposes some Ruby C internals as Ruby functions and constants
Aaron Patterson
Apache-2.0