4 ms·
Replace C/httpd with golang and you get a stack that's fairly decent.
by creshal 5y ago
Replace C/httpd with golang and you get a stack that's fairly decent.
- nix23 5y agoReplace golang with elixir and phoenix, and you have a fairly reliable stack ;)
- _ph_ 5y agoI don't know why you are downvoted - this is one of the tasks, where Go is just a better C. I do like the approach of this stack, having a slim stack with a staticly compiled web page. But switching to Go gives the developer much more safety and quicker development for the custom part. C is great for developing components like sqlite - which are well tested and only slowly evolving. But the quick changing custom code in a web site, there Go shines.
- ratorx 5y agoI can recommend Go for this too. I use it for small APIs. Go has really easy cross compiling as well, so deploying from Linux to OpenBSD is really simple. I still use httpd as the proxy but use compiled Go executables for CGI.
- mrweasel 5y agoLike real CGI, as an executable in cgi-bin?