Interesting Ruby Tidbits That Don’t Need Separate Posts #24
Fixing Threads in Ruby 1.8: A 2-10x Performance Boost
Joe Damato has been on a roll lately, first with a 6 line EventMachine fix that yielded impressive results, then a configure.in fix to give 30% more performance, and now by getting a 2-10x performance boost with a fix to Ruby 1.8's threading.
If you're on Ruby 1.9, don't worry, as Ruby 1.9's threading is still faster even after this tweak, but if implementation optimization interests you, check this article out. Joe has a great way of describing the usually technically-dry innards of Ruby.
Employment.nil? - A Ruby jobs fair in Toronto, Canada
Pete Forde of Unspace (also responsible for FutureRuby) wrote in to tell me about Employment.nil?, a Ruby and Rails job fair taking place in Toronto, Canada. He said it was crazy that some companies are crying out for staff, while some developers are crying out for jobs. The job fair is designed for potential candidates and employers to talk to each other in a neutral, casual environment.
Recently we had Wolfenstein 3D rewritten in Ruby, but now.. Pong! Watch a video of the gameplay, grab the source from GitHub, and read a blog post about its creation. It uses why the lucky stiff's Shoes toolkit.
A New Ruby 1.8 vs 1.9 vs JRuby Benchmark
Benchmarks are nothing new, but Alexander Dymo wanted to see if Ruby 1.9's much-vaulted 2x performance boost would translate into real world, production-based improvements. So he ran some tests. Turns out Ruby 1.9's performance boost is consistent over 1.8. JRuby holds up very well also.
Help Get The Ruby One Click Installer A New Home
Luis Laverna, a significant contributor to Ruby efforts on the Windows platform, is looking for donations to help the Ruby One Click Installer get a new Web site. Luis does a great deal of work for the Windows community, much of it unrecognized, so let's hope he ends up with a great, new site for the critical One Click project.
How to Clone TinyURL in 40 Lines of Ruby and Deploy on Google App Engine
Clone TinyURL with 40 lines of Ruby code on Google AppEngine for Java is a comprehensive walkthrough-cum-tutorial that needs little explanation. You learn how to implement a URL shortening service and then deploy it on Google App Engine using JRuby and a little magic.