3 ms·
Inessential, yes. But I'm pretty sure that there are cases where knowing Assembly makes you a better C programmer. It lets you understand, for instance, why ac
by hugh 18y ago
Inessential, yes. But I'm pretty sure that there are cases where knowing Assembly makes you a better C programmer.
It lets you understand, for instance, why accessing the elements of an array in one order is faster than in another order. Or something. I don't know, because I don't know Assembly. :( But I'm pretty sure that if I did I might be a slightly better C/C++/Fortran programmer than I am.
- tptacek 18y agoLearning assembly actually probably isn't going to teach you that either, because the reason one access ordering is beating another is probably due to the cache, and that's microarchitectural. Not to be, you know, pedantic about it or anything. I liked your response. =)
- hugh 18y agoAh, well there you go. If I knew Assembly I'd know have known that knowing Assembly wouldn't have helped me. Either way, it's apparently a useful skill that I lack.