RubyConf 2010 - Knocking Ruby's Date and DateTime Performance Out of the Park with home_run

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=dVxza_5K1ks



Duration: 40:36
38 views
1


by: Jeremy Evans

Date and DateTime are among the slowest classes in ruby's standard library. They are slow enough that they are often the bottleneck in any code that uses them. home_run is a new ruby library that provides fast Date and DateTime classes that are mostly compatible with the ones in the standard library. This presentation will discuss why the standard Date and DateTime classes are slow. It will go over previous attempts to speed them up. It will discuss the approach that home_run takes to make Date and DateTime fast, and the tradeoffs involved. There will be some discussion of the Ragel parsing library, C gotchas that may trip rubyists up, and how to write leak-free ruby extensions in C. Finally, it will discuss how home_run has affected the greater ruby ecosystem.

Help us caption & translate this video!

http://amara.org/v/GXlJ/




Other Videos By Confreaks


2015-04-02RubyConf 2010 - Grammars, Parsers, and Interpreters, In Ruby by: Michael J. I. Jackson
2015-04-02RubyConf 2010 - Sales for Geeks, or How to Frame Suggestions, Questions and Requests by: Joe O'Brien
2015-04-02RubyConf 2010 - MacRuby - Why and How by: Matt Aimonetti
2015-04-02RubyConf 2010 - Concurrency: Rubies, plural by: Eleanor McHugh, Elise Huard
2015-04-02RubyConf 2010 - AMP: Cross-repo version control in Ruby by: Justin Love
2015-04-02RubyConf 2010 - TANSTAAFL - Implementing Maglev Ruby on top of GemStone
2015-04-02RubyConf 2010 - Building Scalable Cloud Infrastructure with Ruby - How we built VMforce
2015-04-02RubyConf 2010 - Git: the stupid NOSQL database by: Rick Olson
2015-04-02RubyConf 2010 - Rubinius - What Have You Done For Me Today? by: Evan Phoenix
2015-04-02RubyConf 2010 - India::Ruby by: Sidu Ponnappa, Niranjan Paranjape
2015-04-02RubyConf 2010 - Knocking Ruby's Date and DateTime Performance Out of the Park with home_run
2015-04-02RubyConf 2010 - Ruby Summer of Code - Rails 3 Mountable Apps by: Piotr Sarnacki
2015-04-02RubyConf 2010 - JRuby Hacking Guide by: Thomas Enebo, Charles Nutter
2015-04-02RubyConf 2010 - The Enterprising Rubyist - Bootstrapping your Business with Ruby by: Paul Campbell
2015-04-02RubyConf 2010 - Spatial Programming for the Rubyist by: Peter Jackson
2015-04-02RubyConf 2010 - The Road from Ruby Hacker to Entrepreneur by: Tom Preston-Werner
2015-04-02RubyConf 2010 - Keynote: Why Ruby? by: David Heinemeier Hansson
2015-04-02RubyConf 2010 - Keynote #3 by: Yukihiro 'Matz' Matsumoto
2015-04-02RubyConf 2010 - It's Time for a Ruby Editor by: Daniel Lucraft
2015-04-02RubyConf 2010 - ZOMG WHY IS THIS CODE SO SLOW? by: Aaron Patterson
2015-04-02RubyConf 2010 - Each: A Brief History of Iteration by: Rein Henrichs