RubyConf: John Lamb: You’ve got your Ruby in my CLR

I build a program for my child every year for his birthday.

For his second birthday I wrote a flash card app using Ruby and Avalon on .NET.

So I needed to connect Ruby to .NET.

So pragmatism and laziness lead me to build a bridge.

Marshaling of primitives like integers are easy. The devil is in the details.

I start at Microsoft in the CLR team in January. I’m going to work making dynamic languages run better on the CLR.

We want to take IronPythons work and try to apply it Ruby. Can IronPython’s method dispatch be generalized and applied to Ruby?

Will dynamic languages be used in five years to build business applications? We hope so. How?

Success is when the intersection between “What you WANT to do” and “What you ACTUALLY do” increases.

The goal is Happiness.

How does the Ruby.CLR bridge work.
dynamic methods in the CLR will allow other projects liek Ruby.NET to implement Polymorphic Inline Caching(PIC).
const_missing allows faulting in of new proxy classes.

method_missing allows creating of method shims when faulting.

http://www.rubyclr.org

http://www.iunknown.com

Comments are closed.