Live data from Hacker News

BCHS stack – BSD, C, httpd, SQLite

learnbchs.org

11–20 of 59 posts

Re: BCHS stack – BSD, C, httpd, SQLite

#15
post #10

Replace C/httpd with golang and you get a stack that's fairly decent.

I 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.

Re: BCHS stack – BSD, C, httpd, SQLite

#17
Doing web development in c and getting that sweet performance boost is very tempting but the time it takes to develop even a simple website is just not worth it. I would rather spend a few pound extra on servers and goto the cinema than the hours of developer time it would take to build PHP sites in C++

Re: BCHS stack – BSD, C, httpd, SQLite

#18
post #10

Replace C/httpd with golang and you get a stack that's fairly decent.

I 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.

Post reply on HN