Session

Ruby and .NET

John Lam, Program Manager, Microsoft

Track: Ruby
Date: Wednesday, July 26
Time: 2:35pm - 3:20pm
Location: E145

This talk is a deep dive into the implementation of the RubyCLR bridge. The RubyCLR bridge is an extremely fast open source bridge between Ruby and the Common Language Runtime. This talk will examine highlights of the implementation:
  • How it leverages CLR Dynamic Methods to generate dynamic marshaling stubs at runtime
  • How implementing the CIL generator in Ruby dramatically simplified its implementation
  • The challenges involved in integrating two disparate type systems
  • How a large number of small decisions made correctly can lead to a high-performance implementation
  • How the new Managed C++ language made integrating the Ruby C codebase with .NET a pleasant experience

You will also see a demo of the bridge in action powering some compelling WinFX applications.