Slide 1

Slide 1 text

a What Web Developers can Learn from Game Developers Armin Ronacher for DJUGL June 2013

Slide 2

Slide 2 text

Hello, I'm Armin! I do Computers - with Python. Currently at Fireteam / Splash Damage. We do Internet for Pointy Shooty Games. c w

Slide 3

Slide 3 text

Web/Backend Game/Core-Tech Art/Sound *

Slide 4

Slide 4 text

Web/Backend Game/Core-Tech Art/Sound *

Slide 5

Slide 5 text

Why is Python not used in Games?

Slide 6

Slide 6 text

Slow?

Slide 7

Slide 7 text

Slow?

Slide 8

Slide 8 text

C & C

Slide 9

Slide 9 text

Community & Concurrency

Slide 10

Slide 10 text

others follow someone starts gets successful

Slide 11

Slide 11 text

others follow someone starts gets successful and that's why everybody used PHP

Slide 12

Slide 12 text

nobody has been fired for choosing Unreal

Slide 13

Slide 13 text

60FPS

Slide 14

Slide 14 text

Each Actor runs a “Thread” work -> suspend -> wait -> work -> suspend -> work -> …

Slide 15

Slide 15 text

Lua Unreal Script C# JavaScript The Industry Standard

Slide 16

Slide 16 text

Playstation 3 256MB + 256MB RAM 3.2 GHz Processor 6 + 1 SPUs

Slide 17

Slide 17 text

Playstation 3 256MB + 256MB RAM 3.2 GHz Processor 6 + 1 SPUs that's not a lot

Slide 18

Slide 18 text

#9 Core

Slide 19

Slide 19 text

#9 Core

Slide 20

Slide 20 text

#9 Core

Slide 21

Slide 21 text

#9 Core

Slide 22

Slide 22 text

What does that have to do with Web?

Slide 23

Slide 23 text

Remember the Heroku Rap-Genius Incident?

Slide 24

Slide 24 text

Task Queues >> Random Routing

Slide 25

Slide 25 text

we do things because others do it too and that's not always good :-(

Slide 26

Slide 26 text

Python is not going to get better at concurrency :-(

Slide 27

Slide 27 text

Qua e Tn!

Slide 28

Slide 28 text

ALL THE THINGS!

Slide 29

Slide 29 text

Optimize the right things

Slide 30

Slide 30 text

Tools are Important

Slide 31

Slide 31 text

That's it. Now ask questions. And add me on twitter: @mitsuhiko Like my work? gittip.com/mitsuhiko Slides at lucumr.pocoo.org/talks ?