Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c

Name: Anonymous 2015-02-07 6:44

The C language converts to ASM in a very straight forward way. It is ridiculous
to optimize subexprressions and similar stupid things when a competent C
programmer can do it by hand.

Don't make the compiler a clusterfuck because of retard-programmers.

Name: Anonymous 2016-10-25 2:25

>>15
This is all retarded. Why does the compiler have to have code to recognize a loop with x &= x - 1; when the user wants the number of 1 bits in a word? That's not even a readable idiom for the user unless they already know it.
http://lemire.me/blog/2016/05/23/the-surprising-cleverness-of-modern-compilers/

People think C is Haskell. Haskell was designed for smart compilers with powerful optimizations just to catch up with a normal garbage-collected language. C was designed for the dumbest of the dumb compilers, but it needs sophisticated compilers in order to take advantage of instructions that have been around for 50 years. Rotate isn't rocket science.

That kind of complexity is fine for a language like Haskell, but it's just terrible for a so-called systems language that's supposed to be close to the hardware.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List