Ruby Conf 2013 - Extending CRuby with native Graph data type

705 views · Published 1 December 2013 · 42:02 · Indexed 10 November 2026

Channel: Confreaks · 2013 · Science & Technology

Watch on YouTube

By Andy Pliszka

Reading of the CRuby (MRI) source code provides unparalleled insight into the Ruby language. During the talk we will add new native Graph data type to CRuby. The new Graph data structure will be simple but on par with other native types such as Array or Hash. This talk will demonstrate that it is easy to experiment with CRuby and extend it in C. We will experience the speed advantage of using C to boost Ruby performance. We will implement a few of the greatest hits of graph algorithms: Breath First Search, Dijkstra, and Minimum Spanning Tree.

Help us caption & translate this video!

http://amara.org/v/FG5R/

More from this channel