News for hackers. Stuff that matters.
Re:Why C Is Not Assembly by barrkel on Tuesday September 14, 2010 @01:58AM (#1689649)
I don't think C is necessarily predictable in the opcodes it will produce for any given architecture. The code produced for a big switch statement will differ hugely between compilers for the same architecture; some use binary searches, some use hash tables, some use multiple indirect jumps, etc.

And conversely, there are many other languages that have a similar degree of predictability in the code they produce for a given architecture; Pascal, for one, which is almost isomorphic with C in most practical implementations.

There are no comments on this comment yet.