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
Samuel Flores
September 20, 2014
Programming
60
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
160
Extendendo Ruby com C (& cartoons)
samflores
3
190
Sinatra
samflores
2
230
Other Decks in Programming
See All in Programming
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
290
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.4k
はてなアカウント基盤 State of the Union
cockscomb
1
1.2k
Webフレームワークの ベンチマークについて
yusukebe
0
190
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.7k
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
250
act1-costs.pdf
sumedhbala
0
140
Performance Engineering for Everyone
elenatanasoiu
0
250
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
380
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
820
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
230
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Designing for Timeless Needs
cassininazir
1
270
Building Applications with DynamoDB
mza
96
7.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
400
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
330
My Coaching Mixtape
mlcsv
0
160
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
450
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
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