r/computerscience • u/Super_Blue_09 • Jan 02 '26
Discussion Genuine question is Assembly Language still used???
We have to learn it for my A Level Computer Science and it's so hard to find resources to learn it for AQA and apparently it's barely used now? Is that true because learning this is such a pain ðŸ˜
0
Upvotes
15
u/Peanutbutter_Warrior Jan 02 '26 edited Jan 02 '26
Assembly language is widely used. It's somewhat common to write performance critical sections of code in assembly. It's also useful to know so you can look at your program after it's compiled and see why it's slow, why it's not behaving like you expect, etc.
The aqa exam uses their own very simplified assembly, you can find the full reference, which is also printed in the exam paper. There's also a simulator for it here
16
u/thesnootbooper9000 Jan 02 '26
You're learning it because it helps you understand how a computer works, which in turn will help you be a much better programmer.
5
u/just-a-helpol Jan 02 '26
Even if nobody codes in binary, not knowing how binary works, more often than not, makes you a worse programmer.
Same here.
4
u/Old-Ad-3268 Jan 02 '26
Assembly language is for when you don't trust the compiler to get it exactly right
2
u/0jdd1 Jan 02 '26
I’d guess that less than 1% of all future programming will be done in assembler. As others have said, though, that tiny fraction covers a lot of important code. Being able to read and understand assembler, such as compiler-generated code, is especially important for the educated programmer.
4
u/paulstelian97 Jan 02 '26
Assembly isn’t used much, but does have its place in embedded programming, as some things cannot really be done in high level languages (generally things that use special system instructions on the CPU)
1
u/frankster Jan 02 '26
There are different assembly languages for different CPU architectures.
I would say that 95% of programmers will never need to write assembly in their careers but I think it is a great educational exercise to spend time understanding what is happening at a low level with a CPU as it executed compiled code.
1
u/Useful_Literature_46 Jan 02 '26
It's heavily used in video encoding. Most of the older video codecs used assembly in the critical sections. Newer codecs have mix of Assembly and Intrinsics. Big OTT companies have dedicated teams for this.
1
u/fingertipoffun Jan 02 '26
It's great context. I started as an assembly language programmer. The only difference to any other form of programming is the extent to which you have to break problems down. It's worth knowing, but 99% will never write it in a commercial setting these days.
0
u/MarcPawl Jan 02 '26
In the c++ world, I see more discussion of assembly than ever since Compiler Explorer came out. Becoming quite common to look at compiled code.
Still see some targeted new code written in assembly but less than before.
0
u/bobotheboinger Jan 02 '26
I've used it a lot. Helped with the software for custom ASIC designs and we had to code all the startup code, along with initial interrupt handler logic, cache management logic, etc in assembly. So a bit of a niche case, but we had to use a lot of assembly. This was both PPC and ARM designs.
-3
u/Altruistic-Spend-896 Jan 02 '26
its very hard to code in assembly, or asm, we invented higher level languages for that!