rabbit-slide-kou-rubykaigi-2016 2016.9.8.0 → 2016.9.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Ruby bindings 2016.pdf +0 -0
- data/bindings-as-extension-library.rab +224 -0
- data/config.yaml +2 -2
- data/fat-gem.rab +165 -0
- data/how-to-create-bindings-2016.rab +192 -9
- data/images/bindings-as-extension-library.svg +208 -0
- data/images/bindings-by-ffi.svg +208 -0
- data/images/bindings-by-gobject-introspection.svg +499 -0
- data/images/bindings-by-swig.svg +273 -0
- data/images/maintain-gobject-introspection-based-bindings.svg +546 -0
- data/images/maintain-swig-based-bindings.svg +309 -0
- data/pdf/rubykaigi-2016-how-to-create-bindings-2016.pdf +0 -0
- metadata +11 -2
@@ -0,0 +1,309 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
6
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
7
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
8
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12
|
+
width="211.02573mm"
|
13
|
+
height="133.00522mm"
|
14
|
+
viewBox="0 0 747.72895 471.27834"
|
15
|
+
id="svg2"
|
16
|
+
version="1.1"
|
17
|
+
inkscape:version="0.91 r13725"
|
18
|
+
sodipodi:docname="maintain-swig-based-bindings.svg">
|
19
|
+
<defs
|
20
|
+
id="defs4">
|
21
|
+
<marker
|
22
|
+
inkscape:isstock="true"
|
23
|
+
style="overflow:visible"
|
24
|
+
id="marker4240"
|
25
|
+
refX="0"
|
26
|
+
refY="0"
|
27
|
+
orient="auto"
|
28
|
+
inkscape:stockid="Arrow1Mend">
|
29
|
+
<path
|
30
|
+
inkscape:connector-curvature="0"
|
31
|
+
transform="matrix(-0.4,0,0,-0.4,-4,0)"
|
32
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
33
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
34
|
+
id="path4242" />
|
35
|
+
</marker>
|
36
|
+
<marker
|
37
|
+
inkscape:isstock="true"
|
38
|
+
style="overflow:visible"
|
39
|
+
id="marker4200"
|
40
|
+
refX="0"
|
41
|
+
refY="0"
|
42
|
+
orient="auto"
|
43
|
+
inkscape:stockid="Arrow1Mstart">
|
44
|
+
<path
|
45
|
+
inkscape:connector-curvature="0"
|
46
|
+
transform="matrix(0.4,0,0,0.4,4,0)"
|
47
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
48
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
49
|
+
id="path4202" />
|
50
|
+
</marker>
|
51
|
+
<marker
|
52
|
+
inkscape:isstock="true"
|
53
|
+
style="overflow:visible"
|
54
|
+
id="marker4625"
|
55
|
+
refX="0"
|
56
|
+
refY="0"
|
57
|
+
orient="auto"
|
58
|
+
inkscape:stockid="Arrow1Mend">
|
59
|
+
<path
|
60
|
+
transform="matrix(-0.4,0,0,-0.4,-4,0)"
|
61
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
62
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
63
|
+
id="path4627"
|
64
|
+
inkscape:connector-curvature="0" />
|
65
|
+
</marker>
|
66
|
+
<marker
|
67
|
+
inkscape:isstock="true"
|
68
|
+
style="overflow:visible"
|
69
|
+
id="marker4597"
|
70
|
+
refX="0"
|
71
|
+
refY="0"
|
72
|
+
orient="auto"
|
73
|
+
inkscape:stockid="Arrow1Mstart">
|
74
|
+
<path
|
75
|
+
transform="matrix(0.4,0,0,0.4,4,0)"
|
76
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
77
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
78
|
+
id="path4599"
|
79
|
+
inkscape:connector-curvature="0" />
|
80
|
+
</marker>
|
81
|
+
<marker
|
82
|
+
inkscape:stockid="Arrow1Mend"
|
83
|
+
orient="auto"
|
84
|
+
refY="0"
|
85
|
+
refX="0"
|
86
|
+
id="Arrow1Mend"
|
87
|
+
style="overflow:visible"
|
88
|
+
inkscape:isstock="true"
|
89
|
+
inkscape:collect="always">
|
90
|
+
<path
|
91
|
+
id="path4188"
|
92
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
93
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
94
|
+
transform="matrix(-0.4,0,0,-0.4,-4,0)"
|
95
|
+
inkscape:connector-curvature="0" />
|
96
|
+
</marker>
|
97
|
+
<marker
|
98
|
+
inkscape:stockid="Arrow1Mstart"
|
99
|
+
orient="auto"
|
100
|
+
refY="0"
|
101
|
+
refX="0"
|
102
|
+
id="Arrow1Mstart"
|
103
|
+
style="overflow:visible"
|
104
|
+
inkscape:isstock="true"
|
105
|
+
inkscape:collect="always">
|
106
|
+
<path
|
107
|
+
id="path4185"
|
108
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
109
|
+
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1"
|
110
|
+
transform="matrix(0.4,0,0,0.4,4,0)"
|
111
|
+
inkscape:connector-curvature="0" />
|
112
|
+
</marker>
|
113
|
+
</defs>
|
114
|
+
<sodipodi:namedview
|
115
|
+
id="base"
|
116
|
+
pagecolor="#ffffff"
|
117
|
+
bordercolor="#666666"
|
118
|
+
borderopacity="1.0"
|
119
|
+
inkscape:pageopacity="0.0"
|
120
|
+
inkscape:pageshadow="2"
|
121
|
+
inkscape:zoom="0.7"
|
122
|
+
inkscape:cx="374.19359"
|
123
|
+
inkscape:cy="161.03975"
|
124
|
+
inkscape:document-units="px"
|
125
|
+
inkscape:current-layer="layer2"
|
126
|
+
showgrid="false"
|
127
|
+
showguides="false"
|
128
|
+
fit-margin-top="5"
|
129
|
+
fit-margin-left="5"
|
130
|
+
fit-margin-right="5"
|
131
|
+
fit-margin-bottom="5"
|
132
|
+
inkscape:window-width="1920"
|
133
|
+
inkscape:window-height="1016"
|
134
|
+
inkscape:window-x="1920"
|
135
|
+
inkscape:window-y="27"
|
136
|
+
inkscape:window-maximized="1" />
|
137
|
+
<metadata
|
138
|
+
id="metadata7">
|
139
|
+
<rdf:RDF>
|
140
|
+
<cc:Work
|
141
|
+
rdf:about="">
|
142
|
+
<dc:format>image/svg+xml</dc:format>
|
143
|
+
<dc:type
|
144
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
145
|
+
<dc:title />
|
146
|
+
</cc:Work>
|
147
|
+
</rdf:RDF>
|
148
|
+
</metadata>
|
149
|
+
<g
|
150
|
+
inkscape:label="レイヤー 1"
|
151
|
+
inkscape:groupmode="layer"
|
152
|
+
id="layer1"
|
153
|
+
transform="translate(3.0540904,-113.79041)"
|
154
|
+
style="display:inline;opacity:0.25">
|
155
|
+
<circle
|
156
|
+
style="opacity:1;fill:none;fill-opacity:1;stroke:#4e9a06;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
157
|
+
id="path4136"
|
158
|
+
cx="116.16754"
|
159
|
+
cy="347.27573"
|
160
|
+
r="100.0051" />
|
161
|
+
<text
|
162
|
+
xml:space="preserve"
|
163
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
164
|
+
x="34.345184"
|
165
|
+
y="362.42801"
|
166
|
+
id="text4138"
|
167
|
+
sodipodi:linespacing="125%"><tspan
|
168
|
+
sodipodi:role="line"
|
169
|
+
id="tspan4140"
|
170
|
+
x="34.345184"
|
171
|
+
y="362.42801">libhello</tspan></text>
|
172
|
+
<circle
|
173
|
+
r="100.0051"
|
174
|
+
cy="347.27573"
|
175
|
+
cx="625.45325"
|
176
|
+
id="circle4142"
|
177
|
+
style="opacity:1;fill:none;fill-opacity:1;stroke:#a40000;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
178
|
+
<text
|
179
|
+
xml:space="preserve"
|
180
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
181
|
+
x="585"
|
182
|
+
y="365.21933"
|
183
|
+
id="text4144"
|
184
|
+
sodipodi:linespacing="125%"><tspan
|
185
|
+
sodipodi:role="line"
|
186
|
+
id="tspan4146"
|
187
|
+
x="585"
|
188
|
+
y="365.21933">Ruby</tspan></text>
|
189
|
+
<circle
|
190
|
+
r="100.0051"
|
191
|
+
cy="347.27573"
|
192
|
+
cx="370.38147"
|
193
|
+
id="circle4159"
|
194
|
+
style="opacity:1;fill:none;fill-opacity:1;stroke:#4e9a06;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
195
|
+
<text
|
196
|
+
xml:space="preserve"
|
197
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
198
|
+
x="291.35678"
|
199
|
+
y="362.36221"
|
200
|
+
id="text4161"
|
201
|
+
sodipodi:linespacing="125%"><tspan
|
202
|
+
sodipodi:role="line"
|
203
|
+
id="tspan4163"
|
204
|
+
x="291.35678"
|
205
|
+
y="362.36221">Bindings</tspan></text>
|
206
|
+
<text
|
207
|
+
xml:space="preserve"
|
208
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
209
|
+
x="204.87744"
|
210
|
+
y="161.10695"
|
211
|
+
id="text4165"
|
212
|
+
sodipodi:linespacing="125%"><tspan
|
213
|
+
sodipodi:role="line"
|
214
|
+
id="tspan4167"
|
215
|
+
x="204.87744"
|
216
|
+
y="161.10695">Generated by SWIG</tspan></text>
|
217
|
+
<text
|
218
|
+
sodipodi:linespacing="125%"
|
219
|
+
id="text4169"
|
220
|
+
y="212.36221"
|
221
|
+
x="103.27556"
|
222
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
223
|
+
xml:space="preserve"><tspan
|
224
|
+
y="212.36221"
|
225
|
+
x="103.27556"
|
226
|
+
id="tspan4171"
|
227
|
+
sodipodi:role="line">Use C API provided by Ruby</tspan></text>
|
228
|
+
<path
|
229
|
+
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow1Mstart);marker-end:url(#Arrow1Mend)"
|
230
|
+
d="m 224.04061,353.79078 34.28571,0"
|
231
|
+
id="path4173"
|
232
|
+
inkscape:connector-curvature="0" />
|
233
|
+
<path
|
234
|
+
inkscape:connector-curvature="0"
|
235
|
+
id="path4595"
|
236
|
+
d="m 477.61204,353.79078 34.28571,0"
|
237
|
+
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#marker4597);marker-end:url(#marker4625)" />
|
238
|
+
<path
|
239
|
+
inkscape:connector-curvature="0"
|
240
|
+
id="path4198"
|
241
|
+
d="m 372.26872,478.21901 0,-48.65192"
|
242
|
+
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker4240)"
|
243
|
+
sodipodi:nodetypes="cc" />
|
244
|
+
<text
|
245
|
+
sodipodi:linespacing="125%"
|
246
|
+
id="text4508"
|
247
|
+
y="475.12054"
|
248
|
+
x="256.54343"
|
249
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
250
|
+
xml:space="preserve"><tspan
|
251
|
+
y="475.12054"
|
252
|
+
x="256.54343"
|
253
|
+
id="tspan4510"
|
254
|
+
sodipodi:role="line">SWIG</tspan></text>
|
255
|
+
</g>
|
256
|
+
<g
|
257
|
+
inkscape:groupmode="layer"
|
258
|
+
id="layer2"
|
259
|
+
inkscape:label="レイヤー 2">
|
260
|
+
<ellipse
|
261
|
+
transform="translate(3.0540904,-113.79041)"
|
262
|
+
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.99668062;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
263
|
+
id="circle4180"
|
264
|
+
cx="373.23862"
|
265
|
+
cy="522.2757"
|
266
|
+
rx="100.50676"
|
267
|
+
ry="44.078186" />
|
268
|
+
<text
|
269
|
+
transform="translate(3.0540904,-113.79041)"
|
270
|
+
xml:space="preserve"
|
271
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
272
|
+
x="303.3132"
|
273
|
+
y="535.36023"
|
274
|
+
id="text4182"
|
275
|
+
sodipodi:linespacing="125%"><tspan
|
276
|
+
sodipodi:role="line"
|
277
|
+
id="tspan4184"
|
278
|
+
x="303.3132"
|
279
|
+
y="535.36023">hello.i</tspan></text>
|
280
|
+
<rect
|
281
|
+
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#fce94f;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
282
|
+
id="rect4380"
|
283
|
+
width="454.28574"
|
284
|
+
height="115.71429"
|
285
|
+
x="164.28568"
|
286
|
+
y="226.27835"
|
287
|
+
rx="5.0000005"
|
288
|
+
ry="5.0000005" />
|
289
|
+
<text
|
290
|
+
xml:space="preserve"
|
291
|
+
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
292
|
+
x="192.85712"
|
293
|
+
y="226.27835"
|
294
|
+
id="text4370"
|
295
|
+
sodipodi:linespacing="125%"><tspan
|
296
|
+
sodipodi:role="line"
|
297
|
+
id="tspan4372"
|
298
|
+
x="192.85712"
|
299
|
+
y="226.27835" /><tspan
|
300
|
+
sodipodi:role="line"
|
301
|
+
x="192.85712"
|
302
|
+
y="271.6543"
|
303
|
+
id="tspan4376">Ruby bindings</tspan><tspan
|
304
|
+
sodipodi:role="line"
|
305
|
+
x="192.85712"
|
306
|
+
y="321.6543"
|
307
|
+
id="tspan4390">maintainers maintain</tspan></text>
|
308
|
+
</g>
|
309
|
+
</svg>
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit-slide-kou-rubykaigi-2016
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2016.9.
|
4
|
+
version: 2016.9.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rabbit
|
@@ -49,13 +49,22 @@ files:
|
|
49
49
|
- ".rabbit"
|
50
50
|
- README.rd
|
51
51
|
- Rakefile
|
52
|
+
- Ruby bindings 2016.pdf
|
52
53
|
- a.md
|
54
|
+
- bindings-as-extension-library.rab
|
53
55
|
- config.yaml
|
56
|
+
- fat-gem.rab
|
54
57
|
- how-to-create-bindings-2016.rab
|
58
|
+
- images/bindings-as-extension-library.svg
|
59
|
+
- images/bindings-by-ffi.svg
|
60
|
+
- images/bindings-by-gobject-introspection.svg
|
61
|
+
- images/bindings-by-swig.svg
|
55
62
|
- images/bindings.svg
|
56
63
|
- images/clear-code-silver-sponsor.png
|
57
64
|
- images/extension-library-and-bindings.svg
|
58
65
|
- images/libffi-and-bindings.svg
|
66
|
+
- images/maintain-gobject-introspection-based-bindings.svg
|
67
|
+
- images/maintain-swig-based-bindings.svg
|
59
68
|
- overview.md
|
60
69
|
- pdf/rubykaigi-2016-how-to-create-bindings-2016.pdf
|
61
70
|
- theme.rb
|