Earlier quoted context omitted.
I'm pushing for more python use at my company as well. It's tough as everyone is drinking the ruby kool-aid. P.S. I really enjoyed your talk at QCon SF last year!
> It's tough as everyone is drinking the ruby kool-aid. Ruby and Python are similar in terms of execution speed and developer productivity. If your work requires something that Python has and Ruby doesn't(say numpy), then it might make sense; otherwise what would you accomplish by switching from Ruby to Python?
Python at Netflix
41–50 of 78 posts
Re: Python at Netflix
#42Earlier quoted context omitted.
> It's tough as everyone is drinking the ruby kool-aid. Ruby and Python are similar in terms of execution speed and developer productivity. If your work requires something that Python has and Ruby doesn't(say numpy), then it might make sense; otherwise what would you accomplish by switching from Ruby to Python?
what would you accomplish by switching from Ruby to Python? Simpler syntax?
Re: Python at Netflix
#43Earlier quoted context omitted.
If I had to guess, I would say because GP didn't actually give any real reasons why adding complexity (a new language) would improve or solve a problem. Advocating languages is fine, we all have our pet languages, but it is important to remember they each are just one tool in the toolbox and that what is more important is how the language solves the problem well, instead of just blindly advocating one language over a…
Language comparison are so ridiculously multi-dimensional and my knowledge of Netflix's internal applications are shallow enough I thought specifics would be a waste of time. I see Go in general as a reaction to the overcomplexity of Java/C++ and the performance issues of Python/Ruby. Since Go seems to be popular with people who use Java/Python, and Netflix uses Java/Python, I was curious if Go was on the table. I wo…
Maybe that is why you were down voted. (FWIW, I did not down vote you.)
Re: Python at Netflix
#44Python really does hit a sweet-spot for many types of operations. Devops capacity in system scripting, crawling and scraping with excellent web frameworks (Django through to Bottle). On top of all that there are great machine learning libraries as well as good APIs to almost anything not written in Python. My site gets huge amounts of NLP, machine learning and information extraction done in just a few lines because o…
Re: Python at Netflix
#45Re: Web applications in python - I am curious about the overall feeling for them - Do you write web apps in python because rapid development makes up for any performance problems and if you run into problems you would rewrite it in something faster, or do you feel like a python web app can be just as good as alternatives when it comes to speed? Put another way - when you think of python for web applications / service…
Why? The apps are mostly IO bound, and any large site is going to be caching, deferring slow operations, and sharding/breaking into tiers, cdns, etc, etc. The amount of time a web framework actually runs is relatively small.
Others have already mentioned what to do when performance is a problem.
Re: Python at Netflix
#46Earlier quoted context omitted.
I have to say that after doing a python project I totally don't get why people love it so much. The syntax is slightly cleaner, but the lack of threading, first-class functions and dependency management tools make it waste at least as much time as it saves. I honestly don't believe in the concept of a programming language being able to make code more or less readable. A Java project with a POM file can be up and runn…
Python doesn't have first class functions?
Re: Python at Netflix
#47Re: Python at Netflix
#48Python really does hit a sweet-spot for many types of operations. Devops capacity in system scripting, crawling and scraping with excellent web frameworks (Django through to Bottle). On top of all that there are great machine learning libraries as well as good APIs to almost anything not written in Python. My site gets huge amounts of NLP, machine learning and information extraction done in just a few lines because o…
You know, it never occurred to me to use iPython as my shell. I think that would make me more productive. I'll have to try that, thanks!
While I've got you, and seeing you are not longer at Reddit, what do you think of jkl.io (launched today)?
Re: Python at Netflix
#49Earlier quoted context omitted.
I have to say that after doing a python project I totally don't get why people love it so much. The syntax is slightly cleaner, but the lack of threading, first-class functions and dependency management tools make it waste at least as much time as it saves. I honestly don't believe in the concept of a programming language being able to make code more or less readable. A Java project with a POM file can be up and runn…
Ummm, not sure where you're getting your information but Python has threads ( http://docs.python.org/2/library/threading.html ), first-class functions ( http://en.wikipedia.org/wiki/First-class_function ), and dependency management tools (google for pip, easy_install, etc.)
Also, packaging is a whole different can of worms (but hopefully will be sorted by distutils2!).
Re: Python at Netflix
#50Earlier quoted context omitted.
Language comparison are so ridiculously multi-dimensional and my knowledge of Netflix's internal applications are shallow enough I thought specifics would be a waste of time. I see Go in general as a reaction to the overcomplexity of Java/C++ and the performance issues of Python/Ruby. Since Go seems to be popular with people who use Java/Python, and Netflix uses Java/Python, I was curious if Go was on the table. I wo…
Some folks would consider this as an attempt to hijack the discussion. I am not saying that is what you are trying to do but what some folks would think. It gets tedious sometimes when the post is specifically about "Python at whatever" and people post "Hey you should use this language instead." Maybe that is why you were down voted. (FWIW, I did not down vote you.)