Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build impossible programs

Build impossible programs

Julia Evans

May 21, 2018
Tweet

More Decks by Julia Evans

Other Decks in Programming

Transcript

  1. myths you have to be an expert if it were

    possible worthwhile somebody would have done it you have to code on the weekend
  2. some minor problems understanding of Ruby internals none Ruby OSS

    contributions none profilers 1debuggers written O it trust 1C skills beginner
  3. ruby current thread Rstring cfp l seq black panther body

    location label rb.threao.trb.co roi.frame.trb iseg.t a ct ise µµ µ
  4. my prototype had serious problems depended on highly unstable details

    about Ruby interpreter internals 2 3.2 2 3 3 required debugging symbols
  5. where I found the time prototype kzo 6 L week

    of vacation the rest 2018 3 months paid or
  6. o Q

  7. Rost lets me to write fast programs to work with

    C data structures to write programs with no faults memory leaks
  8. 3 kinds of profilers to tracing profilers same process to

    sampling profilers same process to pyflame
  9. rb spy testing strategy collect core dumps memory snapshots for

    5 6 different Ruby versions of test on those
  10. how flame graphs usually work to git clone github.com I

    add it to your PATH to cat data 1 flame graph.pl
  11. how flame graphs work in rbspy run rbspy record rbspy

    automatically creates a flame graph
  12. I qq.EU jcheerfulstoiccommented23daYJ I'm not sure if flame graphs are

    available in other tools but the ease and accessibility of them in rbspv brought them to me for the first time t
  13. it mostly works I E.EE andrewhamptoncommented on Mar 30 I

    do a lot of work on a rails appthat's over 70yearsold I used rbspy record bundle exec rspec ftp aefeweeshagnniortoprmaesef.tv configuredthe script The CPUtime for the entire suitedroppedbynearlyan hour Thanks junsfor theamazingtool
  14. g yan bcrypt A lot of people ask why should

    I work in software development as opposed to math physicsHinanceletc One reason is that this field is surprisingly full of inadequate equilibria a steady state in which low hanging fruits are still available for non experts to solve 20 11428 07,487