← Graph

Ruby Standard Library Hidden Gems Lightning Talk

talk 10 connections

Wroclove.rb 2018 lightning talk walking through surprising or lesser-known classes in Ruby's standard library: Abbrev (find unambiguous abbreviations of a set of strings), Matrix (matrix operations), Prime (prime enumeration and factorization), the three embedded key/value stores DBM, SDBM and GDBM (string-to-string, differ only in internal implementation; let you dump a big string hash to disk and reload it later), PStore (marshal-based persistent object graph keyed by top-level names — start/stop scripts and come back to the full hierarchy), Distributed Ruby (expose a Ruby object over the DRb protocol so a remote process can call its methods and read/write instance variables), OptionParser (CLI option parsing, more convenient than env vars), and TSort (topological sort of directed graphs plus strongly-connected-components). Ends encouraging the audience to read the stdlib.

type
lightning-talk
talk Ruby Standard Library Hidden Gems Lightning Talk
about
PStore tool
Highlights PStore for persisting object graphs between script runs.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Highlights DBM/SDBM/GDBM as embedded string-to-string key/value stores.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Highlights DRb for exposing Ruby objects to remote processes.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
TSort tool
Highlights topological sort / SCC in stdlib.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Highlights OptionParser as a more convenient alternative to env vars.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Abbrev tool
Highlights Abbrev's unambiguous-abbreviation algorithm.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Highlights Matrix class.
talk Ruby Standard Library Hidden Gems Lightning Talk
about
Highlights Prime for prime enumeration and factorization.
from_talk
Ruby Standard Library Hidden Gems Lightning Talk talk
Central takeaway of the stdlib tour.
talk Ruby Standard Library Hidden Gems Lightning Talk
presented_at
Lightning talk delivered at wroclove.rb 2018.

Provenance

Read by
23 extractions