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.5k
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
260
mitsuhiko
1
250
mitsuhiko
0
1.8k
mitsuhiko
5
700
mitsuhiko
19
8.1k
mitsuhiko
4
730
mitsuhiko
2
1.2k
mitsuhiko
4
480
mitsuhiko
9
1.1k
Other Decks in Programming
See All in Programming
coa00
2
130
rince
3
250
watilde
5
1.4k
nkjzm
1
200
mizotake
2
330
joergneumann
0
130
alperhankendi
1
150
temoki
2
220
grapecity_dev
0
180
grapecity_dev
1
200
numeroanddev
1
240
manfredsteyer
PRO
0
110
Featured
See All Featured
scottboms
251
11k
reverentgeek
167
7.3k
malarkey
392
61k
reverentgeek
27
2k
stephaniewalter
260
11k
malarkey
193
8.6k
tanoku
86
8.6k
carmenhchung
31
1.5k
brianwarren
82
4.7k
denniskardys
219
120k
tenderlove
53
3.5k
rocio
155
11k
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 ?