4 ms·
(2013) First, I think the speed of C relies heavily on the compiler. C is not fast, not if I wrote the compiler. But GCC is very fast, and ICC at least as mu
by arh68 12y ago
(2013)
First, I think the speed of C relies heavily on the compiler. C is not fast, not if I wrote the compiler. But GCC is very fast, and ICC at least as much.
I was a little confused by the Erlang wariness, but the reasoning seemed sound
> At Couchbase we recently spent easily 2+ man/months dealing with a crash in the Erlang VM. ... ... it was a race condition bug in core Erlang. We only found the problem via code inspection of Erlang.
That does not sound like a fun time, but once the bug is fixed, what's the big deal? Is there good reason to believe more bugs will come? It wasn't my ass that got bitten but I'd forgive Linux even if it had a race condition bug. (or if it crashes touching 1000 files in /etc)
- andrewchambers 12y agoNo, C is fast, even tcc which does essentially no optimization except for constant folding is about half as fast as gcc -O1 I think. Basically no special work is needed to be 50 times as fast as python.
- ris 12y ago"No special work" except the massively more laborious effort of writing the whole thing in C.
- andrewchambers 12y agoI was referring to no special work on the part of the compiler writer, not the application writer.
- jerven 12y agoWhich python?
- andrewchambers 12y agoCPython 2.6 last I tried benchmarking tcc and python. Obviously pypy or pyston might have an edge for certain snippets after a long jit warmup.