Live data from Hacker News

Why do we use C still?

news.ycombinator.com

21–22 of 22 posts

Re: Why do we use C still?

#21
post #9

Because the Go compiler doesn't optimize good enough yet? It seems like the one language that might replace C/C++ in many instances. My favorite feature is the incredible compile times. http://golang.org/

Ironically, your favorite feature is also your least favorite feature: The compiler is relatively simple and unambitious, resulting in fantastic compile times. Once you start doing advanced analysis and multiple passes, you suddenly aren't so speedy anymore.

Re: Why do we use C still?

#22

Earlier quoted context omitted.

One reason would be the massive existing codebases written in C (Linux kernel, anyone?)...

We should all switch to Java/C#. It makes programming much much faster and easier. http://techiest.blogspot.com/ .

I work on embedded microcontrollers that have, at the most, 16K of code space and 512 bytes of RAM. I have a nice efficient optimizing C compiler that creates object code nearly as tight as the local assembly language.

Do you think I would benefit from Java? Because I don't.

Post reply on HN