Live data from Hacker News

Python at Netflix

medium.com

31–40 of 250 posts

Re: Python at Netflix

#31
post #18

Earlier quoted context omitted.

You think you're being downvoted because people like dynamic typing very much. You're being downvoted because: A) You left a comment with a strong opinion without expressing it while dismissing other peoples' experience B) Python is in fact a type safe language for a while now https://docs.python.org/3/library/typing.html - you have pluggable "a la bracha" types.

> Python is in fact a type safe language for a while now Well it has a typing mechanism, which is better than nothing, but has the mechanism been shown to be safe ? C has types too, but I'm not sure that it would be described as type safe.

Showing a typing mechanism to be safe is a very hard thing to do. There are a few methodologies I'm familiar with. What most people think about - formal proof - doesn't work for semi-obvious reasons (as you can easily reduce "is this program safe" to the halting problem).

The research I've seen is basically:

- Take a class room of independently selected subjects (read: CS undergrad students).

- Give them the same coding problem in multiple languages or in the same language with or without compile time type checking.

- Measure the number of defects said programs have and hopefully draw a conclusion about the safety of the language.

All the research I've read on the topic has been pretty poor (though maybe I'm just bad at finding it).

Indeed there is no such research for typed Python (although the pluggalbe types research in general is great) but there is also no such research (that I've found) for Idris, ReasonML, Swift, Haskell, Rust or any of the usual "suspects" for "good types".

Please enlighten me :]

Re: Python at Netflix

#32
post #24

Wasn't Netflix a Node.JS shop two years ago when Node was popular and now when Python is the most popular they are a Python shop ? :P (sarcasm) It's good to use many languages as it favors a micro-service architecture.

Is Python the most popular language now? I'm not trying to argue, I'm trying to see how out-of-the-loop I am nowadays.

Re: Python at Netflix

#33
post #24

Wasn't Netflix a Node.JS shop two years ago when Node was popular and now when Python is the most popular they are a Python shop ? :P (sarcasm) It's good to use many languages as it favors a micro-service architecture.

Python at Netflix 2013 edition: https://medium.com/netflix-techblog/python-at-netflix-86b602...

Though it is outside my area of expertise, Node usage continues to increase as well. Different use-cases.

Re: Python at Netflix

#34
post #24

Wasn't Netflix a Node.JS shop two years ago when Node was popular and now when Python is the most popular they are a Python shop ? :P (sarcasm) It's good to use many languages as it favors a micro-service architecture.

[deleted]

Re: Python at Netflix

#35
post #32
post #24

Wasn't Netflix a Node.JS shop two years ago when Node was popular and now when Python is the most popular they are a Python shop ? :P (sarcasm) It's good to use many languages as it favors a micro-service architecture.

Is Python the most popular language now? I'm not trying to argue, I'm trying to see how out-of-the-loop I am nowadays.

Depends on how you measure most popular. I think I saw a post here saying that the most new questions on SO were for python over js now, which might be a good enough proxy?

Re: Python at Netflix

#36
post #32
post #24

Wasn't Netflix a Node.JS shop two years ago when Node was popular and now when Python is the most popular they are a Python shop ? :P (sarcasm) It's good to use many languages as it favors a micro-service architecture.

Is Python the most popular language now? I'm not trying to argue, I'm trying to see how out-of-the-loop I am nowadays.

If search metrics are a valid measure:

https://www.economist.com/graphic-detail/2018/07/26/python-i...

Re: Python at Netflix

#37
post #18

Most of these use cases would be better served with a type safe language.

You think you're being downvoted because people like dynamic typing very much. You're being downvoted because: A) You left a comment with a strong opinion without expressing it while dismissing other peoples' experience B) Python is in fact a type safe language for a while now https://docs.python.org/3/library/typing.html - you have pluggable "a la bracha" types.

Python’s type annotation mechanism is somewhere between afterthought and joke. Nobody uses it and nothing is built with it in mind; it can be anywhere from needlessly complicated to utterly impossible for code that interacts with third-party libraries to successfully discover and import class names for type annotations. Making matters worse, you need to use even more extra libraries for the type annotations to actually do anything.

Re: Python at Netflix

#38
post #10

> "Python is the industry standard for all of the major applications we use to create Animated and VFX content, so it goes without saying that we are using it very heavily..." Interesting... very curious to see Netflix using tools in the VFX industry, Shotgun & Nuke to name a few, I wish they can expand more on this.

Netflix produces content too

A lot of it, which needs compositing, post-production, encoding, etc. Python is great for pipeline code to script the compiled libraries that do the number crunching.

Some of it is licensed/farmed out to places like DreamWorks however (new Voltron/She-ra), which is mostly a Java/Spring shop, to my knowledge.

Re: Python at Netflix

#39
post #18

Earlier quoted context omitted.

You think you're being downvoted because people like dynamic typing very much. You're being downvoted because: A) You left a comment with a strong opinion without expressing it while dismissing other peoples' experience B) Python is in fact a type safe language for a while now https://docs.python.org/3/library/typing.html - you have pluggable "a la bracha" types.

> Python is in fact a type safe language for a while now Well it has a typing mechanism, which is better than nothing, but has the mechanism been shown to be safe ? C has types too, but I'm not sure that it would be described as type safe.

C is weakly typed. Python is strongly typed. That's orthogonal to 'having types'.

Re: Python at Netflix

#40
post #35
post #32

Earlier quoted context omitted.

Is Python the most popular language now? I'm not trying to argue, I'm trying to see how out-of-the-loop I am nowadays.

Depends on how you measure most popular. I think I saw a post here saying that the most new questions on SO were for python over js now, which might be a good enough proxy?

I suppose Python is so popular in the ML and data-science spaces now that it makes some sense. I don't know a lot about those spaces, and the little bit I've played with neural networks I've done with Clojure because I'm hipster.

Amazing how much of a pure-functional bubble I live in now. I should probably branch out more.

Post reply on HN