What Web Developers can Learn from Game Developers

What Web Developers can Learn from Game Developers

DJUGL presentation about queues (again!)

181de1fb11dffe39774f3e2e23cda3b6?s=128

Armin Ronacher

June 26, 2013
Tweet

Transcript

  1. a What Web Developers can Learn from Game Developers Armin

    Ronacher for DJUGL June 2013
  2. Hello, I'm Armin! I do Computers - with Python. Currently

    at Fireteam / Splash Damage. We do Internet for Pointy Shooty Games. c w
  3. Web/Backend Game/Core-Tech Art/Sound *

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

  5. Why is Python not used in Games?

  6. Slow?

  7. Slow?

  8. C & C

  9. Community & Concurrency

  10. others follow someone starts gets successful

  11. others follow someone starts gets successful and that's why everybody

    used PHP
  12. nobody has been fired for choosing Unreal

  13. 60FPS

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

    -> work -> suspend -> work -> …
  15. Lua Unreal Script C# JavaScript The Industry Standard

  16. Playstation 3 256MB + 256MB RAM 3.2 GHz Processor 6

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

    + 1 SPUs that's not a lot
  18. #9 Core

  19. #9 Core

  20. #9 Core

  21. #9 Core

  22. What does that have to do with Web?

  23. Remember the Heroku Rap-Genius Incident?

  24. Task Queues >> Random Routing

  25. we do things because others do it too and that's

    not always good :-(
  26. Python is not going to get better at concurrency :-(

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

  28. ALL THE THINGS!

  29. Optimize the right things

  30. Tools are Important

  31. That's it. Now ask questions. And add me on twitter:

    @mitsuhiko Like my work? gittip.com/mitsuhiko Slides at lucumr.pocoo.org/talks ?