News for hackers. Stuff that matters.
Re:Sanic – Python 3.5+ web server that's written to go fast by magicbuzz on Saturday October 15, 2016 @04:15PM (#12715491)
I honestly don't understand why you would do this when nginx with Luajit is so fast. I think Python is great but nginx is so robust, widely used and Luajit is so impressively quick.
Re:Sanic – Python 3.5+ web server that's written to go fast by petre on Sunday October 16, 2016 @05:08AM (#12717741)
Probably because even though Lua is super a nice language, writing code in a config file is not that much fun? App servers spitting out HTML written in the language of your choice are so much more flexible than developing on a single platform/stack such as Apache + mod_php|mod_perl, or OpenResty. Of course nothing stops you to proxy them through Nginx and serve the static content directly with Nginx in production.