CSC/ECE 517 Fall 2010/ch3 3i MM: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 7: Line 7:


== RubyInline ==
== RubyInline ==
==  SWIG ==
[http://www.swig.org/ 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 =
= Using Ruby from C =

Revision as of 01:46, 7 October 2010

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