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
44
Introdução ao MRuby
Samuel Flores
September 20, 2014
Tweet
Share
More Decks by Samuel Flores
See All by Samuel Flores
Clojure
samflores
4
180
Gulp.js
samflores
1
140
Por que Ruby?
samflores
1
130
Extendendo Ruby com C (& cartoons)
samflores
3
170
Sinatra
samflores
2
200
Other Decks in Programming
See All in Programming
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
9年開発を牽引して見えてきた、共通化すべきものと個別でつくるもの ~プログラム言語~
shinout
1
640
[SF Ruby, March 2024] Rails on Wasm
palkan
0
370
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
Hanami and htmx
bkuhlmann
0
190
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
400
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
350
ゆるい個人開発のススメ
kuroppe1819
10
930
デザインシステムで Tailwind CSSとCSS in JSに分散投資をしたら良かった話
fsubal
18
4.8k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
330
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
100
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
A Tale of Four Properties
chriscoyier
150
22k
Building an army of robots
kneath
300
41k
What's new in Ruby 2.0
geeforr
336
31k
Designing for Performance
lara
601
67k
Fireside Chat
paigeccino
19
2.6k
Making Projects Easy
brettharned
107
5.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
13
1.5k
Fontdeck: Realign not Redesign
paulrobertlloyd
75
4.9k
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
Art, The Web, and Tiny UX
lynnandtonic
288
19k
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