Posts

Showing posts from January, 2023

TruffleRuby on OCI Container Instances

Image
Elegance at Speed Ruby is one of my favourite programming languages.  I really appreciate how expressive it is, how productive (and how much fun) it makes development. Unfortunately Ruby has a reputation for being slow compared to other languages such as JavaScript. While the performance of the default Ruby interpreter has improved, it still hasn't had the engineering investment that goes into V8. I want to introduce you to an alternative Ruby engine, and a really simple way to deploy Ruby applications in the cloud. TruffleRuby TruffleRuby is a high - performance implementation of Ruby, built on top of GraalVM. GraalVM is a high - performance, polyglot virtual machine. In benchmark tests , TruffleRuby often delivers superior performance to other Ruby implementations. You can install TruffleRuby using commonly used Ruby managers such as  RVM , chruby &&  ruby-install , and rbenv . Once you've installed TruffleRuby, you can use it just like the standard Ruby engine.  T