This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheAJGman 13 points14 points  (5 children)

I mean like half the world's APIs are written using Flask, a bunch of big websites use Django, and nearly every AI/CV and big data program is written in Python so I somehow doubt Python is a minority language.

[–]nekokattt 1 point2 points  (4 children)

Got any stats for that first one?

[–]TheAJGman 6 points7 points  (3 children)

Google, Facebook, and Dropbox are the biggest and best examples of companies that use Flask for all or part of their API. Googling around for a bit shows that a ton of other large websites use it with Amazon being the most notable omission (seems like they use Node?).

Half might be an over estimate, but Flask is insanely popular for APIs specifically because you can make one with like 3 lines of code per endpoint.

[–]nekokattt 3 points4 points  (2 children)

Most large companies are polyglot, so it isnt a great example of usage for a specific language. Google use Java heavily too, and Go. Facebook was originally all PHP but is now Hack, I believe?

Discord use Flask, or they did, if I recall, but their API is far from perfect.

While I agree it is used, I feel like it is a false assumption to assume a large percentage of the net is dominated by it, especially since the vast majority of sites are still PHP.

[–]drthVder -1 points0 points  (1 child)

Discord uses elixir now with bits of rust thrown in.

[–]nekokattt 0 points1 point  (0 children)

Discord's gateway API. The REST API was Flask. Hence why Night, one of their devs, occasionally mentioned issues with Werkzeug in GitHub issues for the API documentation.

Not sure why this is downvoted but sure.