Skip to content

Instantly share code, notes, and snippets.

@flavorjones
Created January 25, 2010 19:09
Show Gist options
  • Save flavorjones/286126 to your computer and use it in GitHub Desktop.
Save flavorjones/286126 to your computer and use it in GitHub Desktop.
#
# My options when writing a gem containing non-Ruby code
#
| Your support burden | MRI? | Rubinius? | MacRuby? | JRuby? | Google App Engine? |
|-------------------------+------+-----------+----------+--------+--------------------|
| Two branches: FFI and C | YES | YES | YES | YES* | NO |
| Two branches: JVM and C | YES | YES | YES | YES | YES |
| One branch: FFI | YES* | NO-ish | NO | YES* | NO |
| One branch: C | YES | YES | YES | NO | NO |
| One branch: JVM | NO | NO | NO | YES | YES |
* Suboptimal performance relative to native C code or pure bytecode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment