Tag: ruby
All the articles with the tag "ruby".
A Year of Functional Programming
Reflections after one year of functional programming—from discovering Scala, Haskell, and Scalaz to embracing abstractions, expressive types, property-based testing, and computer science academia.
Problems with at_exit{}, exit(), and RSpec
Why Ruby at_exit cleanup hooks can clobber $! and cause RSpec to return exit code 0 on test failures, and a helper method to preserve the exit status.
Ruby Mutex Reentrancy
Discovering that Ruby's Mutex is not reentrant, using Monitor instead, and benchmarking the performance trade-off across MRI and JRuby.
Ruby JSON Libraries
Benchmarking Ruby and JRuby JSON libraries (Oj, YAJL, json-jruby, json_pure, json, OkJson, and jrjackson) across MRI, OpenJDK, and Oracle Java.