News for hackers. Stuff that matters.
Re:Django 2.0 released by Rotareti on Saturday December 02, 2017 @11:30AM (#15832597)
> This is probably your best bet if you're just going to build a nice CRUD frontend for a business app, possibly with an API (via DRF).

If I had to choose a framework for a web API these days, I would go with something that is async from the ground up.

Re:Django 2.0 released by blowski on Saturday December 02, 2017 @11:59AM (#15832770)
Why? Async isn’t cost free - it’s more complicated and that complexity comes at a cost. If your company has only basic needs, you have to question whether you’re providing the best value for your company by doing anything more.
Re:Django 2.0 released by jrs95 on Saturday December 02, 2017 @12:26PM (#15832914)
Especially when a platform doesn't have libraries that support it fully. Node and ASP.NET are the only fully async platforms I'm really aware of where this isn't a huge problem. Of course there are others with great but not async concurrency models as well. Regardless, it's definitely a minority of use cases where the concurrency model should even be a priority.
Re:Django 2.0 released by Rotareti on Saturday December 02, 2017 @03:04PM (#15833754)
> Why?

Because we are getting more and more CPU cores to utilize. I don't think this trend will stop soon. The software stack will have to adjust to this and it already does. The next generation of mainstream (highlevel)languages/frameworks will be those that are designed to easily utilize CPU cores. It may be more expensive for now, but it might pay out later and I think it's much more exciting. ;)

Re:Django 2.0 released by konschubert on Saturday December 02, 2017 @08:09PM (#15835393)
I honestly don't understand this argument.

With 30 workers threads in Python Django, I should be able to make very good use of 6 CPUs even if the workers only run 20% of the time.

Re:Django 2.0 released by konschubert on Sunday December 03, 2017 @05:51PM (#15840126)
I mean, actually think that I don't understand and would like to be educated.
Re:Django 2.0 released by yedpodtrzitko on Saturday December 02, 2017 @11:36AM (#15832641)
Django Channels [1] + ASGI is exactly that. However making that the default would be a hit to the very good backward/forward compatibility Django keep having.

[1] https://channels.readthedocs.io/en/latest/