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
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
640
CSC305 Lecture 04
javiergs
PRO
0
260
育てるアーキテクチャ:戦い抜くPythonマイクロサービスの設計と進化戦略
fujidomoe
1
160
ネイティブ製ガントチャートUIを作って学ぶUICollectionViewLayoutの威力
jrsaruo
0
140
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
680
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
440
CSC305 Lecture 03
javiergs
PRO
0
240
Local Peer-to-Peer APIはどのように使われていくのか?
hal_spidernight
2
460
Model Pollution
hschwentner
1
190
エンジニアとして高みを目指す、 利益を生み出す設計の考え方 / design-for-profit
minodriven
23
12k
NetworkXとGNNで学ぶグラフデータ分析入門〜複雑な関係性を解き明かすPythonの力〜
mhrtech
3
1.1k
Le côté obscur des IA génératives
pascallemerrer
0
130
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
A better future with KSS
kneath
239
17k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Designing for humans not robots
tammielis
254
26k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
GraphQLとの向き合い方2022年版
quramy
49
14k
How STYLIGHT went responsive
nonsquared
100
5.8k
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