Profile

Cover photo
Kosei Kitahara
Lives in Tokyo
1,707 followers|282,269 views
AboutPostsPhotos

Stream

Kosei Kitahara

commented on a video on YouTube.
Shared publicly  - 
1
Add a comment...

Kosei Kitahara

Shared publicly  - 
2
1
Shunsuke Shiina (Yutuki)'s profile photo
Add a comment...

Kosei Kitahara

Shared publicly  - 
 
Quickly capture what’s on your mind and recall it easily wherever you are. ...
1
Add a comment...

Kosei Kitahara

Shared publicly  - 
 
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
1
Add a comment...

Kosei Kitahara

Shared publicly  - 
 
 
Wanted: experts in Twisted, Tornado, asyncore or other Python async APIs (greenlets/gevent, Stackless, libevent all welcome!). In python-ideas@python.org we're trying to hash out the async API for the future (for the Python stdlib) and we need input from expert users of the current generation of async APIs.
82 comments on original post
1
1
Yuji Yamamoto's profile photo
Add a comment...
Have him in circles
1,707 people
山本康史's profile photo
kyoji katahira (キョンジー)'s profile photo
kengo kawamura's profile photo
namazu benkei's profile photo
Tatsunori Ezaki's profile photo
Atsushi Sakabe's profile photo
Bunjaku Yanamushi's profile photo
Eiziro Hayashi's profile photo
ピコカル編集's profile photo

Kosei Kitahara

Shared publicly  - 
 
 
App Engine to announce new runtime at I/O.  The linked page is the description of a code lab, and it says that they will be adding "another very popular programming language to the list of supported runtimes".
18 comments on original post
1
Add a comment...

Kosei Kitahara

Shared publicly  - 
 
★★★ REQUIRES UP WRISTBAND TO USE THIS APP ★★★ UP is a system, wristband + a...
1
Add a comment...

Kosei Kitahara

Shared publicly  - 
1
1
Kei Yamabayashi's profile photo
Add a comment...

Kosei Kitahara

Shared publicly  - 
 
 
Some patterns for fast Python. Know any others?

- Avoid overengineering datastructures. Tuples are better than objects (try namedtuple too though). Prefer simple fields over getter/setter functions.

- Built-in datatypes are your friends. Use more numbers, strings, tuples, lists, sets, dicts. Also check out the collections library, esp. deque.

- Be suspicious of function/method calls; creating a stack frame is expensive.

- Don't write Java (or C++, or Javascript, ...) in Python.

- Are you sure it's too slow? Profile before optimizing!

- The universal speed-up is rewriting small bits of code in C. Do this only when all else fails.
92 comments on original post
1
Add a comment...
People
Have him in circles
1,707 people
山本康史's profile photo
kyoji katahira (キョンジー)'s profile photo
kengo kawamura's profile photo
namazu benkei's profile photo
Tatsunori Ezaki's profile photo
Atsushi Sakabe's profile photo
Bunjaku Yanamushi's profile photo
Eiziro Hayashi's profile photo
ピコカル編集's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Tokyo
Previously
Chiba - Nagasaki - Fukuoka
Links
Contributor to
Story
Tagline
Lazy programmer
Work
Occupation
Programmer
Employment
  • Programmer, present
Basic Information
Gender
Male
Birthday
November 12
Relationship
Married