logo Boston Ruby Group

October 13, 2015

A Muggle's Guide to Tail Call Optimization

by Danny Guinther

Submitted for your approval: a circle of torment unchronicled by the poets of old, a terror at the heart of many a horror story: SystemStackError: stack level too deep Tremble no more! Conquer the well of eternity! Behold the secrets of tail recursion and tail call optimization in Ruby! Witness the metamorphosis of a simple function as we explore the hidden power of tail call optimization buried deep within the Ruby VM! Follow the transformation to the revelation of tail call optimization's most ghastly secret: in many ways it's really just a special type of loop construct! The horror!

August 11, 2015

Ruby Rails Performance and Profiling

by Danny Guinther

Ever wanted to understand how to do benchmarking and what profiling an application means? This talk will introduce you to these concepts and walk you through some of the best tools we have in the Ruby community to do that type of work.

June 9, 2015

Crafting Your First Pry Plugin

by Danny Guinther

Pry bills itself as "a powerful alternative to the standard IRB shell for Ruby", and it ain't kidding. With integrated tools like Slop and Method Source, Pry is a full-fledged Swiss army knife of command-line kung-fu at your disposal. But why stop there? With an architecture built for plugin extension, the limits of Pry are really only a reflection of the limits of your own imagination. So come learn the basics of creating a Pry plugin as we dive into some of Pry's internals and walk through the process of creating a plugin that adds a custom command to the Pry CLI. Where you take it from there, only you know.