Just out of curiosity, how many times harder is it to learn assembly than a language like C? Obviously, everyone learns things differently, but I was just thinking in general terms.
Just out of curiosity, how many times harder is it to learn assembly than a language like C? Obviously, everyone learns things differently, but I was just thinking in general terms.
1.7x-2.3x harder. Obviously it is impossible to truly quantify, and there are levels of skill. Writing a small bit of ASM is not too bad. I'm sure writing highly optimized code for the vector units of modern chips is much worse. Also, learning PPC, SPARC or MIPS is much easier than x86 or EPIC.
1.7x-2.3x harder. Obviously it is impossible to truly quantify, and there are levels of skill. Writing a small bit of ASM is not too bad. I'm sure writing highly optimized code for the vector units of modern chips is much worse. Also, learning PPC, SPARC or MIPS is much easier than x86 or EPIC.
There's also the problem that instruction sets and their strong points and weak points evolve with each processor revision. When writing with assembly, you lose virtually everything that makes higher-level languages easy to understand.
A cursory understanding of how processors actually run code is useful for understanding what's going on when you write in a language like C, but I wouldn't recommend assembly for any general programming (specialized code that needs to be highly optimized, maybe).