CSC/ECE 517 Fall 2010/ch3 3i MM

From Expertiza_Wiki
Jump to navigation Jump to search

Introduction

Ruby is dynamic language that is useful for everything from short scripting assignments, to entire web applications and desktop GUI applications. However, there are inherent limitations in what Ruby can do because of its interpreter.

Using C from Ruby

C Extensions to Ruby

README.EXT

RubyInline

SWIG

SWIG is a popular wrapper generator that can produce wrappers for C and C++ code in several high level programming languages, including Perl, Python, and Ruby.

Using Ruby from C

Conclusion

References

External Links

RubyInline

Ruby C Extension in Under 5 Minutes

Ruby C Extension Overview