I just rewrote the guts of the ADO.NET to Ruby array of hashes code in C++/CLI for fun. It now runs 6.5X faster than the original ADO / ActiveRecord implementation and just 3X slower than reading the same data into a DataSet.
I think this narrows the performance gap to the point where it’s very usable. Now I just have to figure out the DBI interfaces, and rewrite the guts of the SQL Server driver in C++/CLI.
However, I’m not sure I’ll get a chance to write that code until after I ship the next drop of RubyCLR.