Rubinius is the only alternative implementation that offers Ruby C-API compatibility to C extension authors.
Rubinius是唯一一个能够对C扩展作者提供Ruby C-API兼容性的实现。
ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension).
ruby_parser(RP)是一个纯Ruby实现的Ruby语法分析器(借助了racc——它在缺省情况下使用C语言的扩展).
Using an extension wrapper like SWIG (see Resources), you can create a C extension that executes the most time consuming elements of your program as C code.
使用像 SWIG 这样的扩展封装器(请参阅 参考资料),可以创建 C 扩展,它将程序中最耗时元素作为 C 代码执行。
应用推荐