Re:Django REST framework: 3.15.0 Release (Django 5.0 support)
by JonathanBeuys on Sunday March 17, 2024 @05:59AM
(#39733206)
You talk about performance, but I think that is another point for PHP. In my experience, PHP handles the same requests faster.
Yes, I could build everything from scratch myself in Python and have the same statelessnes as in PHP. But parsing headers, creating headers etc feels like it should be handled by a framework. In PHP, it is build right in.
And if I would build it, it would talk to the webserver via CGI. But I think CGI is slow. For PHP, you have mod-php which is super fast.
Rest of the things you mentioned are pretty same for Python as well.