@@ -13,18 +13,19 @@ left, center, right
1313* 呂行 Shing Lyu
1414* Mozilla engineer
1515* Servo team
16- # TODO: Servo logo
16+
17+ ![ rust_and_servo] ( pic/rust-servo.png )
1718---
1819### Python's architecture
1920* Interpreted
2021* Garbage Collected
2122* Compiler => bytecode => VM
2223
23- # TODO: Python Logo
24+ ![ python ] ( pic/python-logo.png )
2425
2526---
2627background-image: url('pic/ice-cream.jpg')
27- class: bleed
28+ class: center, middle, bleed, text-bg
2829# Flavors
2930
3031
@@ -39,8 +40,6 @@ class: bleed
3940 * Jsapy (JS)
4041 * Brython (Python in browser)
4142
42- # TODO: Python logos
43-
4443---
4544class: center, middle
4645
@@ -73,7 +72,8 @@ class: center, middle
7372
7473
7574---
76- class: center, middle
75+ class: center, middle, bleed, text-bg
76+ background-image: url('pic/car_cutaway.jpg')
7777# Python Internals
7878
7979---
@@ -178,7 +178,8 @@ Running `python3 -m dis source.py` gives us
178178
179179---
180180
181- class: center, middle
181+ class: center, middle, bleed, text-bg
182+ background-image: url('pic/electronic_parts.jpg')
182183# Technical Detail
183184
184185---
@@ -196,7 +197,7 @@ bytecode.Bytecode()
196197 .from_code(code)
197198 .to_concrete_bytecode()
198199```
199-
200+ * Load into Rust using ` serde_json `
200201---
201202
202203### Types
@@ -219,8 +220,8 @@ pub enum NativeType{
219220
220221### Testing
221222* ` assert ` is essential to for unittests
222- * ` assert ` rasis ` AssertionError `
223- * Use ` panic!() ` before we implements exception
223+ * ` assert ` raises ` AssertionError `
224+ * Use ` panic!() ` before we implement exception
224225
225226```
226227assert 1 == 1
@@ -256,13 +257,20 @@ match stack.pop() {
256257
257258---
258259
259- ### Next step
260+ ### Next steps
260261* Exceptions
261262* Make it run a small but popular tool/library
262263* Implement the parser
263264* Figure out garbage collection
264265* Performance benchmarking
265266
267+ ---
268+ ### Contribute
269+
270+ ## https://github.com/shinglyu/RustPython
271+
272+ ![ qr_code] ( pic/repo_QR.png )
273+
266274---
267275class: middle, center
268276
0 commit comments