Ruby/Ruby V1.9 C Extension
From eqqon
(Difference between revisions)
m (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...) |
|||
Line 1: | Line 1: | ||
;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 [http://www.lua.org/ LUA] interpreter does this perfect. The interpreter can run at several instances, each instance using a pointer to the interpreter context. | ;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 [http://www.lua.org/ LUA] interpreter does this perfect. The interpreter can run at several instances, each instance using a pointer to the interpreter context. | ||
+ | :: Wolf |
Revision as of 17:05, 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.
- Wolf