Wrap a Ruby script that speaks stdio in a daemon so that you only pay the startup overhead once.
Joey Schoblaska
MIT