Hacker News new | ask | show | jobs
by rbalsdon 3502 days ago
C. Why the hell does everything have to be a web app?
3 comments

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.
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.
I've used libmicrohttpd for a client in the past.

It was easy, and ridiculously fast.

C is usually the wrong choice for non-web apps too.
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

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 :)