Profile

Cover photo
Kosei Kitahara
Lives in Tokyo
1,720 followers|336,693 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,720 people
とあるスグル's profile photo
Dat Nguyen Huu's profile photo
Saburi Hiroshi's profile photo
KIICHIRO MINAMI's profile photo
Robert Hawkins's profile photo
drub drub's profile photo
NaO's profile photo
三伸ホーム佐田 弘's profile photo
Kota UENISHI'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,720 people
とあるスグル's profile photo
Dat Nguyen Huu's profile photo
Saburi Hiroshi's profile photo
KIICHIRO MINAMI's profile photo
Robert Hawkins's profile photo
drub drub's profile photo
NaO's profile photo
三伸ホーム佐田 弘's profile photo
Kota UENISHI'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