Ruby CLR and Ruby.NET
summary
A Ruby CLR bridge exposes .NET types as proxy objects by emitting DynamicMethod shims in IL, marshals values (boxed integers) across the boundary and caches call-site implementations, and measures over three million calls a second for simple int roundtrips. It uses Reflector to inspect CLR assemblies, supports events, interfaces and limited generics, lets Ruby inline C# via inline C# snippets, and relies on DynamicMethod so generated code can be GC-reclaimed; Mono compatibility breaks on C++-emitted attributes.
AI-written summary · about
chapters (16)
- 0:00Start
- 2:02Ruby Clr Bridge
- 6:26Virtual Machine Environments
- 11:07Decompiler
- 14:57Boxing and Unboxing
- 16:33Debugging Experience
- 17:31Ruby Clr
- 19:05Shadow Class
- 19:31Dynamic Method
- 21:26Dynamic Methods
- 31:11Inspiration
- 33:14Ruby Helpers
- 34:43Using Statement
- 35:38Support for Generics
- 46:59Documentation
- 48:36The Mixx Conference








