Slide 1

Slide 1 text

@samflores

Slide 2

Slide 2 text

@samflores

Slide 3

Slide 3 text

mruby

Slide 4

Slide 4 text

mini

Slide 5

Slide 5 text

modular

Slide 6

Slide 6 text

embutida

Slide 7

Slide 7 text

mágica

Slide 8

Slide 8 text

https://github.com/mruby/mruby

Slide 9

Slide 9 text

# mrbgems/default.gembox conf.gem :github => "iij/mruby-regexp-pcre" conf.gem :github => "iij/mruby-digest"

Slide 10

Slide 10 text

$ ruby ./minirake

Slide 11

Slide 11 text

#include #include

Slide 12

Slide 12 text

int main(void) { mrb_state *mrb = mrb_open(); char code[] = "p 'hello world!'"; printf("Hello from mruby!\n"); mrb_load_string(mrb, code); return 0; }

Slide 13

Slide 13 text

$ export INC=mruby/include $ export LIB=mruby/build/host/lib/libmruby.a $ gcc -I$INC hello.c $LIB -lm -o hello $ ./hello

Slide 14

Slide 14 text

real world

Slide 15

Slide 15 text

Obrigado @samflores