Learning x86 assembly remains relevant today, though its importance depends heavily on your goals and field of work.
Assembly programming is still crucial in several domains. Security researchers need it for reverse engineering, vulnerability analysis, and exploit development. System programmers working on operating systems, device drivers, or embedded systems often need to read or write assembly for performance-critical sections or hardware interfaces. Compiler developers must understand assembly to optimize code generation and debug compiler output. Game developers occasionally use assembly for extreme optimization of hot paths in graphics or physics engines.
The educational value is also significant. Understanding assembly gives you deep insight into how computers actually execute code, how memory management works at the lowest level, and why certain programming patterns are more efficient than others. This knowledge makes you a better programmer even if you never write assembly professionally, as you'll understand concepts like stack frames, calling conventions, and CPU caches more intuitively.
However, the practical need for writing assembly has diminished considerably. Modern compilers often generate better optimized code than hand-written assembly for most tasks. Higher-level languages with good performance characteristics (like Rust or modern C++) can achieve near-assembly performance while being far more maintainable. The complexity of modern x86-64 processors, with their deep pipelines, out-of-order execution, and complex instruction sets, makes effective hand-optimization extremely difficult.
For most software developers today, assembly is more about reading and understanding than writing. You might need to debug a crash dump, analyze performance bottlenecks, or understand security vulnerabilities, but you'll rarely need to write significant amounts of assembly code. The time investment to become proficient in x86 assembly is substantial, so it's worth considering whether that time might be better spent on other skills unless you're specifically targeting fields where assembly knowledge is essential.