News for hackers. Stuff that matters.
Re:Ask HN: Would you use Python as the main lang in a potent... by bjourne on Thursday December 22, 2016 @12:21AM (#13235058)
> Python as the main language in a potentially large-scale project

This is the flaw in your thinking, the word Potentially. Good engineering means you worry about actual problems and not potential problems (within reason ofc). Your actual problem is that you haven't written the web application, so you do that first. For doing that, Python is an excellent choice.

"But what about web-scale?" Well, chances are your product will fail for some reason and never become successful therefore thinking about scaling problems now is a waste of time. In my experience, scaling problems comes much later than most people think. I've worked on an interactive site in Django that served 60k visitors per day without problems. It was the database that gave us the most performance problems not Python.

Re:Ask HN: Would you use Python as the main lang in a potent... by chuckus on Thursday December 22, 2016 @11:13PM (#13242774)
Good point, that adjective changes everything. In regards to scaling, yes I haven't met performance scaling issues with Python web applications, even when needing long running asynchronous tasks by relying on the ever popular celery and redis, because I've never had somewhat even moderate traffic. In hindsight, I am guilty of over-engineering previous web applications "to deal with potential scaling issues", especially at the infrastructure level, leverage clusters of containers when I could of got away with Heroku.
Re:Ask HN: Would you use Python as the main lang in a potent... by Ashish_J_S on Thursday December 22, 2016 @01:40AM (#13235375)
> It was the database that gave us the most performance problems not Python

I agree database has given the most pain to me as well may it be SQL or NSQL

Re:Ask HN: Would you use Python as the main lang in a potent... by Ashish_J_S on Thursday December 22, 2016 @01:37AM (#13235359)
>I've been using Python for over 4 years from writing web applications for enterprise to startups in Django and Flask

He has used python to write web applications.