News for hackers. Stuff that matters.
Re:Ask HN: Go programming language is over ten years old. Wh... by thiht on Sunday October 25, 2020 @03:01PM (#24888915)
But I still need gunicorn, don't I? My point is that with Go, I just have to execute my single binary and I'm good to go. It doesn't prevent me from adding a reverse proxy and a loaf balancer if I want to, but I don't need gunicorn or other runners.

Also if a single line is enough, maybe adding it clearly to the doc would be nice.

Re:Ask HN: Go programming language is over ten years old. Wh... by barumi on Monday October 26, 2020 @03:29AM (#24893627)
> But I still need gunicorn, don't I? My point is that with Go, I just have to execute my single binary and I'm good to go.

I don't see how your point is relevant. I mean, with interpreted languages you need to run the interpreter, but if having to write an additional word or line of code bothers you that much then you should not worry about it if you dockerize the app or, god forbid, use a launcher script. I mean, in non land no one ever complained about how hard it is to add scripts to mom's start and prestarte targets to launch a server by doing mpm start. So why is this suddenly relevant with Go?

Re:Ask HN: Go programming language is over ten years old. Wh... by BiteCode_dev on Sunday October 25, 2020 @04:05PM (#24889455)
You don't. Some frameworks are stand alone. It just happens flask uses wsgi, and so you need gunicorn.