Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LAMPのP

 LAMPのP

2014/5/9 Livesense SICP倶楽部LT大会にて
Hackの紹介

Livesense Inc.

May 29, 2014
Tweet

More Decks by Livesense Inc.

Other Decks in Programming

Transcript

  1. PYTHON3͸2.Xܥͱ͸͍ͩͿҧ͏ • perl5ͱperl6΄Ͳ͸ҧΘͳ͍ • python2ܥ͔Βͷ࢓༷มߋ • จࣈྻ͕όΠτྻͰ͸ͳ͘Unicodeจࣈྻʹͳͬͨʢେࣄʣ • ਺஋͕ int

    ܕʹ౷Ұ͞Εͨʢେࣄʣ • ྫ֎ه๏͕ͪΐͬͱมΘͬͨ • print จ͕ࣜʢؔ਺ʣʹͳͬͨ • input ͕ raw_input తʹͳͬͨʢpython2ܥͰ͸evalͯͨ͠!ʣ
  2. ͕

  3. ฒྻॲཧ೤͍ • multiprocessing Ϟδϡʔϧʢ2.6- , 3.3- ʣ • εϨουʹࣅͨײ͡ͰϩʔΧϧɺϦϞʔτͷฒߦ࣮ߦΛ αϙʔτ͢ΔϥΠϒϥϦ

    • ʢpythonͷεϨου͸GILͷ͍ͤͰฒྻ࣮ߦ͕Ͱ͖ͳ͍ʣ • asyncio ͱ aiohttp Λ࢖ͬͯ؆୯ฒྻεΫϨΠύʔ • http://rdepf.hatenablog.jp/entry/2014/03/25/211802