3 ms·
REXML is kept because many projects that need a pure ruby XML parser rely on it and it works for them. Usually, if you use XML beyond something small, you shoul
by Argorak 16y ago
REXML is kept because many projects that need a pure ruby XML parser rely on it and it works for them. Usually, if you use XML beyond something small, you should use Nokogiri.
Actually, 1.9.2 ships with replacements where possible: for example, CSV is now FasterCSV with a compatibility interface, Psych can be used instead of Syck for YAML parsing.
- AndrewO 16y agoGood points (I'd forgotten about FasterCSV and Psych). I guess it's a mixed blessing if your library becomes part of stlib. On the one hand, it's gotta feel great to have so many people using your code. But on the other, your release cycle is pegged to Ruby's.
- jseifer 16y agoLikewise for high performance http libraries.
- Argorak 16y agoYes, but most high-performance libraries are MRI specific. I'm still searching for a good Net::HTTP replacement that runs on both MRI and JRuby.