3 ms·
Yes, but interpreted is slow, and garbage collection causes pauses at essentially random times. These things are fine for one off sorts of problems where it doe
by goodcanadian 11y ago
Yes, but interpreted is slow, and garbage collection causes pauses at essentially random times. These things are fine for one off sorts of problems where it doesn't matter much if it takes a little longer. If you are writing an application that is meant to be run thousands or millions of times, I start to wonder why people don't care more about these trade-offs (the answer is, of course, they do . . . if they are, for example, running large infrastructure like Google or Amazon).
My point isn't/wasn't so much to crap on other languages, but to express dismay at why people crap on C so much or view it as irrelevant. Ruby is definitely not irrelevant. Why would people think C is?
- umanwizard 11y agoThe main language at Amazon is Java. Lots of Java code is being run millions and millions of times there. Java isn't as slow as you think it is.
- goodcanadian 11y agoI didn't say Java is slow. I said that garbage collection introduces unpredictable pauses. This is potentially an issue with Java, but it all depends on the problem you are trying to solve. In many cases, it won't matter, but in some, it will. How is this relevant to the idea that C is an important and relevant language?
- munificent 11y ago> My point isn't/wasn't so much to crap on other languages, but to express dismay at why people crap on C so much or view it as irrelevant. Well... you did kind of just crap on other languages. Personally, I like C, C++, Java, Ruby, JS, and lots of other languages, all for different purposes. I don't feel dismay when people use GC languages, or when they use languages that make it easy to have buffer overflows or security bugs. I just get dismayed when they use them for the wrong kinds of programs.