Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been writing Django professionally since 2013, It's ain't that bad. Our codebase is huge & it never takes us more than 2 weeks to do it and lately, it has always gotten less and less. Wonder if the issue is with your codebase that it breaks so much on upgrades.

Python3 upgrade is a task, agreed. But it actually gives good returns. The language is nicer to write in and we even saved some memory and CPU on the same load after the upgrade. So highly recommended.



Saved some memory and CPU after the upgrade? Could you give some numbers?


https://thenewstack.io/instagram-makes-smooth-move-python-3/

How has Python 3 performed since then?

"Ding: We did not have performance gain expectations for Python 3 right out of the box.

So it was a pleasant surprise to see 12 percent CPU savings (on uswgi/Django) and 30 percent memory savings (on celery).

It’s only been four months since rollout, we don’t expect to see constant 10 percent performance improvement, but that was a very promising start."


Removing the 2/3 compatibility shims saves a lot of code and runtime cost, that could be a contributing factor.


Good point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: