$30 off During Our Annual Pro Sale. View Details »

Python Everywhere!

Jacob Kaplan-Moss
August 10, 2013
440

Python Everywhere!

PyCon Canada 2013

Jacob Kaplan-Moss

August 10, 2013
Tweet

Transcript

  1. Python  
    Everywhere
    Jacob Kaplan-Moss
    [email protected]

    View Slide

  2. “What’s  Python  good  for?”

    View Slide

  3. about:me

    View Slide

  4. about:me
    Co-BDFL

    View Slide

  5. about:me
    Director of Security
    Co-BDFL

    View Slide

  6. 1998

    View Slide

  7. 2001

    View Slide

  8. 2003

    View Slide

  9. 2005

    View Slide

  10. “What’s  Python  good  for?”

    View Slide

  11. View Slide

  12. Games    Banking    Web  Apps  Chemistry  
    SMS    Charity    Emergency  Services    
    Bioinformatics  Trading  Mobile  Apps      
    Genetics    Marketing    Email    Sports  
    Mechanical  Engineering  Search  
    Civil  Engineering  Push  Notifications      
    Payroll    Cloud  Computing    Newspapers    
    Television  Radio    Movies    Animation    
    Space    Shopping  Graphics    
    Embedded  Devices    Libraries    …

    View Slide

  13. Games    Banking    Web  Apps  Chemistry  
    SMS    Charity    Emergency  Services    
    Bioinformatics  Trading  Mobile  Apps      
    Genetics    Marketing    Email    Sports  
    Mechanical  Engineering  Search  
    Civil  Engineering  Push  Notifications      
    Payroll    Cloud  Computing    Newspapers    
    Television  Radio    Movies    Animation    
    Space    Shopping  Graphics    
    Embedded  Devices    Libraries    …
    EVERY
    THING

    View Slide

  14. Python  is      
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    fast

    View Slide

  15. Python  is      
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    object-­‐oriented

    View Slide

  16. Python  is      
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    functional

    View Slide

  17. Python  is      
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    complete

    View Slide

  18. ˑ
    Community!

    View Slide

  19. “What  makes  the  Python  community  
    different  is  its  concerted  effort  to  recruit  
    and  welcome  people  who  are  
    underrepresented  in  tech….  
    [The]  Python  community  is  in  many  
    ways  a  beacon  of  what  the  tech  world  
    should  aspire  to.”
    — http://www.fastcolabs.com/3015524/what-every-coder-community-can-learn-from-python

    View Slide

  20. View Slide

  21. View Slide

  22. WE  
    WON!

    View Slide

  23. View Slide

  24. Well...

    View Slide

  25. View Slide

  26. ‣ Threat from within: fragmentation.

    View Slide

  27. ‣ Threat from within: fragmentation.
    ‣ Threat from above: the Enterprise.

    View Slide

  28. ‣ Threat from within: fragmentation.
    ‣ Threat from above: the Enterprise.
    ‣ Threat from below: new ecosystems.

    View Slide

  29. View Slide

  30. Python  2
    Python  3
    PyPy
    PyPy  3
    Jython
    IronPython

    View Slide

  31. View Slide

  32. View Slide

  33. The  next  great  language

    View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. ‣ Threat from within: fragmentation.
    ‣ Threat from above: the Enterprise.
    ‣ Threat from below: new ecosystems.

    View Slide

  40. ‣ Threat from above: the Enterprise.
    ‣ Threat from below: new ecosystems.
    ‣ Opportunities within: Python everywhere.

    View Slide

  41. ‣ Threat from below: new ecosystems.
    ‣ Opportunities within: Python everywhere.
    ‣ Opportunities above: the Enterprise.

    View Slide

  42. ‣ Opportunities within: Python everywhere.
    ‣ Opportunities above: the Enterprise.
    ‣ Opportunities below: new ecosystems.

    View Slide

  43. View Slide

  44. View Slide

  45. View Slide

  46. View Slide

  47. View Slide

  48. View Slide

  49. View Slide

  50. PEP  3156
    (tulip)

    View Slide

  51. https://github.com/aaugustin/django-c10k-demo

    View Slide

  52. from  django.http  import  HttpResponse
    def  web_view(request):
           return  HttpResponse("I'm  a  web  site!")
    https://github.com/aaugustin/django-c10k-demo

    View Slide

  53. from  django.http  import  HttpResponse
    def  web_view(request):
           return  HttpResponse("I'm  a  web  site!")
    from  c10ktools.http  import  websocket
    @websocket
    def  websocket_echo(ws):
           ws.send((yield  from  ws.recv())
    https://github.com/aaugustin/django-c10k-demo

    View Slide

  54. ˑ
    We  can  do  it!

    View Slide

  55. PYTHON  ALL  THE  THINGS!

    View Slide

  56. Thank  you!
    [email protected]

    View Slide