Profile

Cover photo
Kosei Kitahara
Lives in Tokyo
1,729 followers|337,484 views
AboutPostsPhotos

Stream

Kosei Kitahara

Shared publicly  - 
2
1
Add a comment...

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  - 
 
 
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
Add a comment...
In his circles
207 people
Have him in circles
1,729 people
Micaël Reynaud's profile photo
高木輝幸's profile photo
oichiro yatsu's profile photo
新開トミ(Tommy)'s profile photo
佐藤ひろこ(sato165)'s profile photo
Oksana Udepne's profile photo
kotobuki daqua's profile photo
eris eris jehadu's profile photo
esquire 1951's profile photo

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  - 
1
1
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...

Kosei Kitahara

Shared publicly  - 
1
Add a comment...
People
In his circles
207 people
Have him in circles
1,729 people
Micaël Reynaud's profile photo
高木輝幸's profile photo
oichiro yatsu's profile photo
新開トミ(Tommy)'s profile photo
佐藤ひろこ(sato165)'s profile photo
Oksana Udepne's profile photo
kotobuki daqua's profile photo
eris eris jehadu's profile photo
esquire 1951'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
  • (current)
Story
Tagline
Lazy programmer
Work
Occupation
Programmer
Employment
  • Programmer, present
Basic Information
Gender
Male
Birthday
November 12
Relationship
Married