~/talk

Building Rubyfmt

Talkat NoRuKo 2020 Β· on Friday, 2020-08-21Β· [ruby]
slides:none on file

Rubyfmt is an editor-focused Ruby autoformatter that transforms source to a minimal, consistent subset of Ruby and runs fast enough for format-on-save: 60 ms for 2,500 lines and about 30,000 lines/sec. Implementation moves parsing with ripper in Ruby into a Rust renderer by passing Ruby object pointers for speed. It refuses configurationβ€”no style-related configurationβ€”is distributed via GitHub releases (not a gem), has heavy repo-level tests, and currently drops some comments so it’s not yet recommended for production.

AI-written summary Β· about

  1. 0:00Start
  2. 3:02My slide deck crashed keynote this morning
  3. 7:00Rubyfmt has no style related configuration
  4. 7:33Rubyfmt is designed to work like a unix tool
  5. 8:18Rubyfmt is not a Gem
  6. 10:07Testing strategy is extreme
  7. 11:18Penelope, why are you doing this?
  8. 11:29Hierarchy of nitpicking
  9. 21:01The goal is a minimal consistent subset of the Ruby language
  10. 22:03The Ruby standard library includes a Ruby parser called ripper
  11. 23:49How fast is fast enough?
  12. 32:49Sweating the details
~/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.