~/talk

Pure Ruby Apache Arrow reader/writer

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, data-visualization]
slides:none on file

A pure-Ruby reader/writer for the Apache Arrow file/stream format (published as red_arrow_format) reads and writes Arrow with zero-copy where possible by using Ruby 3.1’s IOBuffer and IOBuffer.map (mmap) and includes a side-project: a FlatBuffers in Ruby implementation. Benchmarks show the pure-Ruby reader matches a C debug build, but a tuned C/C++ release is several times faster; writing is close — roughly twice slower than optimized C yet noticeably faster than the C debug runs.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:49Pure Ruby Arrow library
  3. 7:58Why Apache Arrow is fast
  4. 11:49Zero-copy in Ruby techniques
  5. 18:11Memory mapping for speed
  6. 19:37Writing performance
  7. 21:53Adopting Arrow in Ruby
  8. 26:55Call to action and resources
~/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.