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

How to make Perfume dance

nari
November 10, 2013

How to make Perfume dance

Let's dance!

nari

November 10, 2013
Tweet

More Decks by nari

Other Decks in Technology

Transcript

  1. Self-introduction ➔ nari, @nari3, authorNari ➔ A CRuby committer ➔

    I'm a creator of Bitmap Marking GC in Ruby 2.0
  2. Hacking plan ➔ Use Ruby/SDL. ➔ Motion data format is

    BVH – We can parse it with bvh gem :) ➔ Done!
  3. GC must scans these object each time GC ✔ ✔

    ✔ ✔ ✔ ✔ ✔ Stop The World Stop time is long
  4. In Ruby 2.1, ➔ Introduced Generational GC a.k.a RGenGC by

    ko1-san ➔ This feature saves Perfume's dance.
  5. GC scans these object sometimes GC ✔ ✔ ✔ ✔

    ✔ ✔ Don't stop Stop time is short ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Next GC Ignored
  6. Conclusion ➔ RGenGC is cool. ➔ ko1-san is also cool.

    ➔ Ruby 2.1 will be great! – You should not use GC.disable