Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introdução ao MRuby
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Samuel Flores
September 20, 2014
Programming
59
1
Share
Introdução ao MRuby
Samuel Flores
September 20, 2014
More Decks by Samuel Flores
See All by Samuel Flores
Clojure
samflores
4
200
Gulp.js
samflores
1
150
Por que Ruby?
samflores
1
150
Extendendo Ruby com C (& cartoons)
samflores
3
180
Sinatra
samflores
2
220
Other Decks in Programming
See All in Programming
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
180
事業会社でのセキュリティ長期インターンについて
masachikaura
1
270
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
840
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
290
의존성 주입과 모듈화
fornewid
0
150
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
300
ルールルルルルRubyの中身の予備知識 ── RubyKaigiの前に予習しなイカ?
ydah
1
210
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
110
Programming with a DJ Controller — not vibe coding
m_seki
3
170
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
190
実用!Hono RPC2026
yodaka
2
270
Swift Concurrency Type System
inamiy
1
550
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
580
Why Our Code Smells
bkeepers
PRO
340
58k
It's Worth the Effort
3n
188
29k
WCS-LA-2024
lcolladotor
0
550
The Limits of Empathy - UXLibs8
cassininazir
1
310
Deep Space Network (abreviated)
tonyrice
0
120
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Ruling the World: When Life Gets Gamed
codingconduct
0
210
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Become a Pro
speakerdeck
PRO
31
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Transcript
@samflores
@samflores
mruby
mini
modular
embutida
mágica
https://github.com/mruby/mruby
# mrbgems/default.gembox conf.gem :github => "iij/mruby-regexp-pcre" conf.gem :github => "iij/mruby-digest"
$ ruby ./minirake
#include <mruby.h> #include <mruby/compile.h>
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; }
$ export INC=mruby/include $ export LIB=mruby/build/host/lib/libmruby.a $ gcc -I$INC hello.c
$LIB -lm -o hello $ ./hello
real world
Obrigado @samflores