Ruby/Ruby V1.9 C Extension

From eqqon

(Difference between revisions)
Jump to: navigation, search
Zelenka (Talk | contribs)
(New page: ;Notes: Basicly the interface is similar to V1.8. So most parts of your implementation should run also with V1.9. I had some troubles initializing the interpreter, this differs in V1.9 and...)
Newer edit →

Revision as of 17:04, 20 November 2007

Notes
Basicly the interface is similar to V1.8. So most parts of your implementation should run also with V1.9. I had some troubles initializing the interpreter, this differs in V1.9 and V1.8. Threading is now implemented native. But there is a major drawback with the Ruby interpreter implementation. Many global's are used. As a result the interpreter cannot be run more than once at a process. As an example, the LUA interpreter does this perfect. The interpreter can run at several instances, each instance using a pointer to the interpreter context.