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
1
56
Introdução ao MRuby
Samuel Flores
September 20, 2014
Tweet
Share
More Decks by Samuel Flores
See All by Samuel Flores
Clojure
samflores
4
200
Gulp.js
samflores
1
150
Por que Ruby?
samflores
1
140
Extendendo Ruby com C (& cartoons)
samflores
3
180
Sinatra
samflores
2
220
Other Decks in Programming
See All in Programming
オープンソースソフトウェアへの解像度🔬
utam0k
16
3k
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
130
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
710
iOSでSVG画像を扱う
kishikawakatsumi
0
120
Webサーバーサイド言語としてのRustについて
kouyuume
0
300
CSC509 Lecture 03
javiergs
PRO
0
340
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
520
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
230
CSC509 Lecture 04
javiergs
PRO
0
300
CSC305 Lecture 05
javiergs
PRO
0
220
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
1
690
XP, Testing and ninja testing ZOZ5
m_seki
3
730
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
9k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
910
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
GitHub's CSS Performance
jonrohan
1032
470k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Mobile First: as difficult as doing things right
swwweet
225
10k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
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