Rails takes advantage of "native", aka compiled, extensions, but saves them as separate and additional libraries. For example, Rails allows you to use nokogiriXML as a parser, rather than a standard Ruby-based parser.
There are at least 3 reasons why Rails will probably not replace internal functions with C / C ++ equivalents.
- Rails is a Ruby framework. Since this is a Ruby framework, you can expect contributors to learn about Ruby, but using the C libraries you force the entire Ruby ecosystem to also be C programmers. And that would probably mean fewer members of the framework itself.
- - Windows Gem, C, , , , C Rails.
- Rails Ruby Ruby, JRuby. C- Ruby, Java/Python/... . , Gems C JRuby.