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

mruby is cute♡

mruby is cute♡

#megurorb

さっちゃん

October 29, 2018
Tweet

More Decks by さっちゃん

Other Decks in Programming

Transcript

  1. Ruby is a family. MRI (Matz Ruby) JRuby (JVM) mruby

    TruffleRuby (GraalVM) RubyMotion Rubinius Opal (JavaScript)
  2. MCM-3angle Crystal mruby MRI 1 . . . 1 .

    - 1 : . : . . 1 1 - ./: #
  3. # main.rbi class Hiredis def initialize: (String, Integer) -> any

    | -> any def incr: (String) -> Integer def flushall: -> String end
  4. > steep check --dump-all-types --strict -I . . 1 2,

    " , " , 3= , ,,. 54 3:1 3= 3 = . 54 1 2, " , " , : 1 7 , ,,. 54 8 54 . 54 5 1 2, " , " , 5 4, ,,. 54 . 54 5 1 2, ") , " , : 1 , ,,. 54 8 54 1 2, " , " , , ,,0 7 = = 71 1 2, " , " , 5 4, = 4 8 54 3 = = 71 1 2, ") , " , 5 4, ,, 575 8 54 3 = = 71 1 2, ") , " , : 1 , ,,. 54 8 54 1 2, " , " , , ,,0 7 = = 71 1 2, " , " , 5 4, = 4 8 54 3 = = 71 1 2, ") , " , 5 4, ,, 575 8 54 3 = = 71 1 2, (") , (" , : 1 , ,,. 54 8 54 1 2, " , (" , 257 , = 4 8 54 . 54 5 1 2, (" , (" , 5 4, = 4 8 54 : 81:: 1 2, (") , (" , 5 4, ,,0 7 8 54 : 81::