3 ms·
When the Singularity happens and computers are at least as smart as humans. Until then, compilers will be mindbogglingly retarded piles of crap that produce co
by DarkShikari 15y ago
When the Singularity happens and computers are at least as smart as humans.
Until then, compilers will be mindbogglingly retarded piles of crap that produce code 10, 20, or more percent slower than a human. Doubly so on anything other than x86. Add a factor of 10 if SIMD is involved.
- DarkShikari 15y agoAnd the downvote brigade arrives, consisting entirely of programmers who don't read the assembly outputted by their compiler. Part of the problem is simply that compilers typically cannot know the same information the programmer knows: assumptions about alignment and aliasing, for example, that the programmer knows, but the compiler doesn't. But even if they did, there are plenty of cases where "producing good assembly code for a given algorithm" is infeasible with a brute-force approach, requiring the imprecise-but-effective pattern-matching of a human brain -- or something similarly powerful.
- deleted 15y ago[deleted]