When
· Naughties
· · 2006
· · · August
· · · · 22 (3 entries)

RAD V: << !! · [RAD stands for <a href='/ongoing/When/200x/2006/08/17/JRuby'>Ruby Ape Diaries</a>, of which this is part V.] If you look at Ruby code, you keep seeing this little two-character motif <code><<</code>, and maybe everyone else already knew about this, but it sure feels like magic to this farm boy from the Prairies. Bonus: Lisp speculation ...
 
RAD VII: J?REXML · [RAD stands for <a href='/ongoing/When/200x/2006/08/17/JRuby'>Ruby Ape Diaries</a>, of which this is part VII.] In native Ruby, the default way to do XML processing is via the REXML library. In JRuby, you have another default choice—Java’s built-in XML APIs. Neither option is that great. Still, there are some reasonably safe ways to get the job done. I wrote some glue code called JREXML to make the Java APIs look more like REXML, which forced me to think about this stuff perhaps more than is entirely healthy ...
 
RAD VI: Java APIs from JRuby · [RAD stands for <a href='/ongoing/When/200x/2006/08/17/JRuby'>Ruby Ape Diaries</a>, of which this is part VI.] The reason I first built the Ape in JRuby was so I could get at all those nice Java APIs, and that turned out to be a good reason. Of course, there is a bit of impedence mismach, and I ended up writing some glue code. I kind of suspect that, should JRuby catch on, there’s going to be scope for quite a bit of this glue-ware. This fragment is just a few examples of the genre, to provide examples and perhaps provoke thought ...
 
author · Dad · software · colophon · rights
Random image, linked to its containing fragment

By

I am an employee of Amazon.com, but the opinions expressed here are my own, and no other party necessarily agrees with them.

A full disclosure of my professional interests is on the author page.