2 ms·
Wouldn't both be kind of extreme niches? Who programs a 64bit x86 in asm? I think the only places where you might use any asm language is embedded and these chi
by ido 12y ago
Wouldn't both be kind of extreme niches? Who programs a 64bit x86 in asm? I think the only places where you might use any asm language is embedded and these chips don't use x64 (my last embedded job was around 2006 using 8-bit CPUs @ about 1mhz & 4kB ram and even there we used c).
Not to be misunderstood - it's good for you to learn as a programmer but since it's all for educational purposes anyway might as well learn something simpler like the parent suggested. "Practically" both are impractical in the modern world.
- sharpneli 12y agoKnowing how it works is extremely useful. And if you know one it's trivial to get to know another, like ARM as an example. I haven't actually written a line of asm in last few years but when you are thinking about performance you must be able to understand compiler output. And that I have been doing a great deal. You simply cannot make well performing code without that knowledge. You can always say that in modern desktop performance does not matter, but you cannot say the same in mobile space. There every single watt counts if you want to increase your battery life. Because when the CPU is idle they can pretty much shut the whole thing down for a small while.
- ido 12y agoWell if you reread what I wrote you'd see I wrote that you should probably learn some asm, it just doesn't need to be x64 asm.
- J_Darnley 12y agoDo you ever want to use the SIMD features of your CPU? That is why you learn assembly.