Profile

Cover photo
Kosei Kitahara
Lives in Tokyo
1,713 followers|305,342 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.
1
1
Yuji Yamamoto's profile photo
Add a comment...
Have him in circles
1,713 people
Jane Linda's profile photo
わくにゃん's profile photo
戸井トイ's profile photo
松本圭威's profile photo
Toni Feliz's profile photo
Yuji Moba's profile photo
Bunjaku Yanamushi's profile photo
綾波ミレイ's profile photo
Shimizu Yusho'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".
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.
1
Add a comment...
People
Have him in circles
1,713 people
Jane Linda's profile photo
わくにゃん's profile photo
戸井トイ's profile photo
松本圭威's profile photo
Toni Feliz's profile photo
Yuji Moba's profile photo
Bunjaku Yanamushi's profile photo
綾波ミレイ's profile photo
Shimizu Yusho'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
Apps with Google+ Sign-in
  • Lep's World 2