Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
What Web Developers can Learn from Game Developers
Armin Ronacher
June 26, 2013
Programming
11
1.6k
What Web Developers can Learn from Game Developers
DJUGL presentation about queues (again!)
Armin Ronacher
June 26, 2013
Tweet
Share
More Decks by Armin Ronacher
See All by Armin Ronacher
mitsuhiko
0
350
mitsuhiko
1
350
mitsuhiko
0
2k
mitsuhiko
5
730
mitsuhiko
19
8.4k
mitsuhiko
4
830
mitsuhiko
2
1.3k
mitsuhiko
4
580
mitsuhiko
9
1.2k
Other Decks in Programming
See All in Programming
po3rin
2
160
kkagurazaka
1
270
atsunorikuriyama
0
190
uhooi
0
300
jrodbx
2
350
ajstarks
3
4.5k
gio_sastre
0
100
hpgrahsl
2
190
atamaplus
0
160
olafurw
0
440
d_date
1
240
urushiyama
0
410
Featured
See All Featured
pedronauck
655
120k
holman
295
140k
dougneiner
123
8.3k
bkeepers
PRO
415
58k
revolveconf
204
10k
danielanewman
208
20k
tenderlove
58
3.9k
malarkey
193
9k
samlambert
238
10k
paigeccino
7
310
jponch
106
5.4k
ddemaree
272
32k
Transcript
a What Web Developers can Learn from Game Developers Armin
Ronacher for DJUGL June 2013
Hello, I'm Armin! I do Computers - with Python. Currently
at Fireteam / Splash Damage. We do Internet for Pointy Shooty Games. c w
Web/Backend Game/Core-Tech Art/Sound *
Web/Backend Game/Core-Tech Art/Sound *
Why is Python not used in Games?
Slow?
Slow?
C & C
Community & Concurrency
others follow someone starts gets successful
others follow someone starts gets successful and that's why everybody
used PHP
nobody has been fired for choosing Unreal
60FPS
Each Actor runs a “Thread” work -> suspend -> wait
-> work -> suspend -> work -> …
Lua Unreal Script C# JavaScript The Industry Standard
Playstation 3 256MB + 256MB RAM 3.2 GHz Processor 6
+ 1 SPUs
Playstation 3 256MB + 256MB RAM 3.2 GHz Processor 6
+ 1 SPUs that's not a lot
#9 Core
#9 Core
#9 Core
#9 Core
What does that have to do with Web?
Remember the Heroku Rap-Genius Incident?
Task Queues >> Random Routing
we do things because others do it too and that's
not always good :-(
Python is not going to get better at concurrency :-(
Qua e Tn!
ALL THE THINGS!
Optimize the right things
Tools are Important
That's it. Now ask questions. And add me on twitter:
@mitsuhiko Like my work? gittip.com/mitsuhiko Slides at lucumr.pocoo.org/talks ?