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

People who love C love it, in part, because they are often solving interesting problems with it. Many problems that require C are interesting: embedded software, automated robots, new databases etc. Most problems that C is not good at - Web development - are not that interesting to many people that love C.


C is not good at web development? Most of the "web" stack is written in C: OS/NGINX/apache/php/java/perl. If you do write the top of the stack in C, it will run faster than anything else and be smaller. This means lower turnaround time which is VERY IMPORTANT in web apps. C, in many cases, is the best Web language.


In what world does runtime speed and compiled size have anything to do with turnaround (or programmer productivity, as I read it)?

C is a great language for many reasons, but let's not conflate benefits.


Perhaps there's a misunderstanding in the term "turnaround". I meant it in this sense t = x + y + z. where t = total time, x = send time , y = processing time, z = send back to user time. If you can decrease y, you decrease "t". Responsiveness is important to users. With the advent of large and extremely fast memory cache, small program size will dramatically increase program execution speed by have small code and small data already in cache. Smaller program executable will enable many more instances on a real physical node. Size matters. Speed matters.


I wrote a CGI in C around 2005. The C code produced only a small about of XML. All the presentation layers were done using client-side XSLT, CSS, and a bit of javascript. The result was very portable and efficient: we had to support serving from z/OS mainframes that used EBCDIC, AIX, HP-UX, Solaris, Linux, and Windows.


None of those require C, and are frequently done using high level languages.


Your comment may have gone over better if you included specific examples. For one, here's a story about Lisping at the Jet Propulsion Lab: http://www.flownet.com/gat/jpl-lisp.html




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: