On 2013-02-11 21:11, Russel Winder wrote:
Python is not being compared to D here, vibe.d is being compared to <what?> Flask, Bottle,…
Who knows, maybe Python was being compared. You can have a nice HTTP server in Python in 0 lines of code, by running: python -m SimpleHTTPServer :)
Issues about Python GIL are irrelevant (even if true) as people just use process pools via multiprocessing or concurrent.futures.
Exactly, for example spawn a few processes with uWSGI and the Python script doesn't have to deal with multithreading or even use greenlets. So in most of the cases there is no GIL issue... unless you really need multithreading for a fast web service keeping internal states and locks, entering a no-python land.
Connections to SQL, MongoDB, Cassandra, Redis, Neo4J, etc. and templating engines are the real kicker here not the even loop. If it's all in place get the marketing material in place and let the presses roll.
Yeah, a sane templating engine is a must. Once you have those things covered, you can win people over by playing to the performance tune. They love that.
Of course having a big traffic site using it would help a lot.
