The Ruby programming language hasn’t historically been the subject of much research, either in industry or academia. A lot of recent systems research has used languages like C, C++ and Java. Contemporary programming language research often uses languages like Java, Scala, Racket and Haskell. Modern research into VMs, compilers and garbage collectors is often based on Java or recently Python.
However there are now a growing number of research projects using Ruby. On this page we list theses and peer-reviewed papers and articles that cover Ruby implementation or use Ruby, including alternative implementations such as JRuby. We also list other notable papers that don’t mention Ruby but are applied in Ruby implementations.
All paper links were publicly available.
T. Würthinger, C. Wimmer, C. Humer, A. Wöss, L. Stadler, C. Seaton, G. Duboscq, D. Simon, M. Grimmer. Practical Partial Evaluation for High-Performance Dynamic Language Runtimes. In Proceedings of the Conference on Programming Language Design and Implementation (PLDI), 2017. (Tentatively accepted.) Truffle
C. Seaton. AST Specialisation and Partial Evaluation for Easy High-Performance Metaprogramming. In Proceedings of the 1st Workshop on Meta-Programming Techniques and Reflection (META), 2016. JRuby Truffle
M. Viering. An Efficient Runtime System for Reactive Programming. Master thesis, Technische Universität Darmstadt, 2015. JRuby Truffle
C. Seaton. Specialising Dynamic Techniques for Implementing the Ruby Programming Langauge. PhD thesis, University of Manchester, 2015. JRuby Truffle
M. Grimmer, C. Seaton, R. Schatz, T. Würthinger, H. Mössenböck. High-Performance Cross-Language Interoperability in a Multi-Language Runtime. In Proceedings of 11th Dynamic Languages Symposium (DLS), 2015. JRuby Truffle
F. Niephaus, M. Springer, T. Felgentreff, T. Pape, R. Hirschfeld. Call-target-specific Method Arguments. In Proceedings of the 10th Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems Workshop (ICOOOLPS), 2015. JRuby Truffle
B. Daloze, C. Seaton, D. Bonetta, H. Mössenböck. Techniques and Applications for Guest-Language Safepoints. In Proceedings of the 10th Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems Workshop (ICOOOLPS), 2015. JRuby Truffle
S. Marr, C. Seaton, S. Ducasse. Zero-Overhead Metaprogramming: Reflection and Metaobject Protocols Fast and without Compromises. In Proceedings of the 36th Conference on Programming Language Design and Implementation (PLDI), 2015. JRuby Truffle
M. Grimmer, C. Seaton, T. Würthinger, H. Mössenböck. Dynamically Composing Languages in a Modular Way: Supporting C Extensions for Dynamic Languages. In Proceedings of the 14th International Conference on Modularity, 2015. JRuby Truffle
A. Wöß, C. Wirth, D. Bonetta, C. Seaton, C. Humer, and H. Mössenböck. An Object Storage Model for the Truffle Language Implementation Framework. In Proceedings of the International Conference on Principles and Practices of Programming on the Java Platform (PPPJ), 2014. JRuby Truffle
M. Springer. Inter-language Collaboration in an Object-oriented Virtual Machine. Bachelor’s thesis, Hasso-Plattner-Institute, 2013. MagLev
M. Furr, J. An, J. S. Foster, and M. Hicks. The Ruby Intermediate Language. In Proceedings of the Dynamic Language Symposium, 2009.
K. Sasada. YARV: Yet Another RubyVM: Innovating the Ruby Interpreter. In Proceedings of the Companion to the 20th Conference on Object-Priented Programming, Systems, Languages, and Applications, 2005. MRI
B. Daloze, S. Marr, D. Bonetta, H. Mössenböck. Efficient and Thread-Safe Objects for Dynamically-Typed Languages. In Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications (OOPSLA), 2016. JRuby Truffle
C. Ding, B. Gernhardt, P. Li, and M. Hertz. Safe Parallel Programming in an Interpreted Language. In Proceedings of the First Workshop on the High Performance Scripting Languages, 2015. MRI
L. Lu, W. Ji, and M. L. Scott. Dynamic Enforcement of Determinism in a Parallel Scripting Language. In Proceedings of the 35th Conference on Programming Language Design and Implementation (PLDI), 2014. (source code) JRuby
R. Odaira, J. G. Castanos, and H. Tomari. Eliminating Global Interpreter Locks in Ruby through Hardware Transactional Memory. In Proceedings of the 19th Symposium on Principles and Practice of Parallel Programming (PPoPP), 2014. MRI
W. Ji, L. Lu, and M. L. Scott. TARDIS: Task-level Access Race Detection by Intersecting Sets. In Proceedings of the 4th Workshop on Determinism and Correctness in Parallel Programming (WoDet), 2013. JRuby
B. M. Ren, and J. S. Foster. Just-in-Time Static Type Checking for Dynamic Languages. PLDI, 2016.
B. M. Ren, J. Toman, T. S. Strickland, and J. S. Foster. The Ruby Type Checker. In Proceedings of the 28th Symposium on Applied Computing (SAC), 2013.
J. An, A. Chaudhuri, J. S. Foster, and M. Hicks. Dynamic Inference of Static Types for Ruby. In Proceedings of the 38th ACM Symposium on Principles of Programming Languages (POPL), 2011.
M. J. Edgar. Static Analysis for Ruby in the Presence of Gradual Typing. Bachelor’s thesis, 2011.
M. Madsen, P. Sørensen, and K. Kristensen. Ecstatic - Type Inference for Ruby Using the Cartesian Product Algorithm. Master’s thesis, Aalborg University, 2007.
M. Furr, J. An, J. S. Foster, and M. Hicks. Static Typing for Ruby on Rails. In Proceedings of the 24th Annual ACM Symposium on Applied Computing, 2009.
M. Furr, J. An, and J. S. Foster. Work In Progress: an Empirical Study of Static Typing in Ruby. In Proceedings of the PLATEAU Workshop on Evaluation and Usability of Programming Languages and Tools, 2009.
M. Daly, V. Sazawal, and J. S. Foster. Profile-Guided Static Typing for Dynamic Scripting Languages. In Proceedings of the Conference on Object Oriented Programming Systems Languages and Applications, 2009.
J. An, A. Chaudhuri, and J. S. Foster. Static Type Inference for Ruby. In Proceedings of the 24th IEEE/ACM International Conference on Automated Software Engineering, 2009.
R. Smith, R. Williamson, D. Ventura, and J. T. Prince. Rubabel: wrapping open Babel with Ruby. Journal of Cheminformatics, 5(1), 35, 2013.
N. Goto, P. Prins, M. Nakao, R. Bonnal, J. Aerts, and T. Katayama. Bioruby: bioinformatics software for the Ruby programming language. Bioinformatics, 26(20):2617–9, Oct 2010.
A. Tapiador, D. Carrera, J. Salvachúa. Social Stream, a social network framework. Proceedings of International Conference on Future Generation Communication Technology (FGCT), 2012.
A. Tapiador A framework for building distributed social network websites. PhD thesis, 2013.
Compiled by Chris Seaton and others
Contributions appreciated - fork on GitHub
The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. It is licensed under the terms of the Creative Commons Attribution-ShareAlike 2.5 agreement.