~/talk

Bits, Bytes, and Blobs

Talkat RubyConf 2009 · 2009-11-19..11-21· [ruby]
links:none on file
slides:none on file

Uses pack/unpack, network byte order and Force_encoding 'binary' to talk to existing protocols, avoids extra strings to limit GC pressure, and uses constants for fixed 24-byte header layouts. A pure Ruby mcash client packs requests into only two heap objects per send and achieves 15,000 ops/sec (~0.06 ms/op). Code generators (AMQP JSON spec, Thrift, protobuf) reduce developer work. A demo sends OSC messages via oscul to aeton live and successfully triggers an arpeggiator.

AI-written summary · about

  1. 0:00Bits Bytes and Blobs intro
  2. 2:07Interoperating with systems
  3. 4:17Bits in Ruby
  4. 9:37Bytes in Ruby
  5. 13:13Binary IO
  6. 14:20Packing blobs
  7. 20:01Optimizing Ruby
  8. 27:47Balancing performance and developer experience
  9. 31:37Code generation
  10. 34:08Fun with Open Sound Control in Ruby
  11. 45:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.