News for hackers. Stuff that matters.
Re:Ask HN: What's your go-to back end for simple projects? by rbalsdon on Thursday November 17, 2016 @07:25PM (#12983211)
C. Why the hell does everything have to be a web app?
Re:Ask HN: What's your go-to back end for simple projects? by jklein11 on Thursday November 17, 2016 @08:04PM (#12983410)
Re:Ask HN: What's your go-to back end for simple projects? by amorphid on Thursday November 17, 2016 @09:04PM (#12983738)
One practical reason is that I suspect most C developers aren't interested in building web applications. And most web application developers don't know C.
Re:Ask HN: What's your go-to back end for simple projects? by flukus on Thursday November 17, 2016 @09:10PM (#12983756)
I think that's a terrible thing. I've been a web app developer for most of my career and I'm not super fluent in c anymore. But c is one of those foundational things every developer should know.
Re:Ask HN: What's your go-to back end for simple projects? by shakna on Friday November 18, 2016 @10:00AM (#12987162)
I've used libmicrohttpd for a client in the past.

It was easy, and ridiculously fast.

Re:Ask HN: What's your go-to back end for simple projects? by lawnchair_larry on Thursday November 17, 2016 @09:00PM (#12983709)
C is usually the wrong choice for non-web apps too.
Re:Ask HN: What's your go-to back end for simple projects? by shakna on Friday November 18, 2016 @09:58AM (#12987146)
Why?

With GCC's ability to deploy to just about every architecture, most heavy-handed libraries using C themselves (hence a C FFI in higher languages), and access to the biggest and best GUI libs.

Add in musl and static compilation, you get:

* Probably fast

* Native UIs

* Tiny binaries that are easy to distribute

Re:Ask HN: What's your go-to back end for simple projects? by herbst on Friday November 18, 2016 @08:40AM (#12986630)
Usually when i write something i want people to use it. And i am far to lazy to bother with Windows or Mac specific code. Thats why it is web for me :)