Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote my first web app in C (1999ish). Emitting HTML was way easier than any GUI libraries I had encountered up to that point.

I probably wouldn't write one in C today, but webapps are one of the easier string-heavy things to write in C[1]; you can get away with using a hierarchical memory manager and just free everything after the request is complete.

1: Having to do a lot of string manipulation is usually a good sign "you shouldn't be using C" There's a reason awk was written in 1977.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: