Category Archives: Ruby

Building Ruby Gem Native Extensions on Windows

If you’re using Ruby on Windows, but always encountering gems that require native extensions, then the new(ish) RubyInstaller project is for you. When browsing the Ruby download page, you may have noticed the newfangled Windows installer for download. They’ve swapped … Continue reading

Posted in Ruby, Windows | Tagged , , | 2 Comments

Ruby MD5 and SHA1 Digest Benchmark

I did a benchmark of MD5 and SHA1 digests in Ruby. The benchmark was done in Ruby 1.8.6 on Windows. The code used to benchmark: The output: As expected, digest methods are faster than hexdigest and MD5 is faster than … Continue reading

Posted in Ruby | 3 Comments

More on Maglev

After a little more searching around, I found some good pieces which bring back to reality the performance claims of Maglev and potential problems with object oriented databases. Let’s not forget that Maglev isn’t even out yet, and we have no idea … Continue reading

Posted in Ruby | Tagged , , , , | Leave a comment

On Database Abstraction, PHP, and Ruby

It took me a couple days on my current PHP/MySQL project to get the DB abstraction with proper error handling, input validation, and relational support coded to the point where I’m happy with the model. This was after trying Zend_Db, … Continue reading

Posted in Databases, Ruby, Web Design | Tagged , , , | 3 Comments