3 ms·
I regard it as vitally important that everyone learn the assembly code of at least one instruction set architecture. Not so much because you will ever need to
by MichaelCrawford 11y ago
I regard it as vitally important that everyone learn the assembly code of at least one instruction set architecture. Not so much because you will ever need to write any, but because all programming languages ultimately result in machine code.
If your java or php or sql or haskell or python suck, the reason your users can tell that they suck, is because your machine code sucks.
The simple awareness of what goes on under the hood will make you better at any language.
Aside from that its helpful to learn several distinctly different paradigms, like python, lisp, c++ and smalltalk.
- codygman 11y agoI do plan on understanding the STG, C--, and Assembler code Haskell compiles to... eventually :)
- p1esk 11y agoIf by "sucks" you mean "slow", it's probably because of an inefficient algorithm. Knowing assembly won't make you realize you're doing O(n^2) where you can do O(n). These days it's hard to justify learning assembly for someone who's not planning to write high performance low level code, and even there, your time might be better spent learning GPU programming or multithreading.