Home > RubyIsFromMars

RubyIsFromMars

RubyIsFromMars is a project mainly written in RUBY and ERLANG, it's free.

A fully-annotated version of the slides for the presentation "Ruby is From Mars, Functional Languages are from Venus: Integrating Ruby with Erlang, Scala and F#", along with the source code for the examples.

The file ruby_is_from_mars.pdf contains a fully-annotated version of the slides for the presentation "Ruby is From Mars, Functional Languages are from Venus: Integrating Ruby with Erlang, Scala and F#".

This project contains the source for all of the examples. The READMEs in each sub-directory contain details about how I ran the examples and the versions of the projects I used.

A number of the examples use the relative ages of the programming languages as data. Those ages remain frozen in time, based on how old the languages were at the time the slide deck was completed. However, the examples have all been updated to work with recent versions of Ruby, JRuby, IronRuby, Scala , Erlang and FSharp (Ruby 1.9.2, JRuby 1.6.0, IronRuby 1.1.1, Scala 2.8.1, Erlang R14B01 and FSharp 2.0).

The presentation abstract:

We won't just look at how to use projects that bridge Ruby and functional languages, we'll walk through the lower-level code that allows the inter-language communication to happen.

We'll explore different approaches to language interoperability ranging from accessing libraries through universal protocols to embedding foreign syntax in a host source file.

We'll also discuss techniques for ensuring that your polyglot applications won't read like bad translations and behave in unexpected ways.