Top
Best
New

Posted by indyjo 10/23/2025

How I stopped worrying and started loving the Assembly(medium.com)
196 points | 34 commentspage 2
shevy-java 11/1/2025|
I want to like it but my brain is too feeble for it.

I will wait for when efficiency (as well as speed) comes from elegance in the programming language itself rather than the human mind having to cater to some fundamental archaic syntax.

MSFT_Edging 11/1/2025||
The thing about assembly is, in a limited context it's not that hard to understand at all.

Value goes into register, do some math on register, compare register to immediate, etc.

The difficulty comes the more code you add. The same thing happens in nearly any language. A single file python script is easy, the complexity in a mature async python app is hard. It's easy to add some numbers and val >> stout in c++, but managing all the dependencies and build chain is hard in a million line program.

It's no different, but assembly is neat because you can isolate the complexity via inlining and just step back and tell the computer exactly what to do.

rramadass 11/2/2025|||
> I want to like it but my brain is too feeble for it.

That's a self-defeating attitude which you don't want to reinforce :-(

Assembly is not difficult but writing large-scale programs/systems in it is. But almost nobody does this nowadays; it is generally C & Assembly. So you need to know/understand just enough assembly to get along.

Start with Jonathan Bartlett's Programming from the Ground Up for a nice introduction - https://news.ycombinator.com/item?id=11702025 Then look at Daniel Kusswurm's and Larry Pyeatt's books. Also https://news.ycombinator.com/item?id=45782206

t-3 11/1/2025||
Assembly is often easier than using programming languages, it's just less convenient most of the time. x86 will make you think you're too stupid to understand because it is a disgusting malformed monster. Assembly on other architectures make the computer feel like a machine rather than a magic box.
mrasong 11/1/2025||
I’ve never worked with assembly before, but I learned a lot from this article.
iberator 11/1/2025|
I never programmed assembly before 2025. For some reason i started tinkering with emulated 6502 cpu (same as in apple 2) and its FUN. In matters of weeks I managed to develop my own cpu architecture b, opcodes, wrote VM and assembler for it.

Bare metal programming with those old CPUs is WAY easier than learning new web stack IMO.

endorphine 11/1/2025||
Where would you suggest someone starts if they want to get into this stuff? Start writing an emulator? Which one would you recommend?
petee 11/1/2025||
I found playing with AVR microcontrollers to be a nice intro to assembly, and it can be quite rewarding to get some physical response from your code, like a display or turning a servo. I did already have some electronics experience going in though
rramadass 11/1/2025|||
Low-Level Programming: C, Assembly, and Program Execution on Intel x86-64 Architecture by Igor Zhirkov.
anthk 11/1/2025|||
A chip8 emulator
msephton 11/2/2025||
As in the article, try the hello world example in Hatari emulator.
JKCalhoun 11/1/2025||
Tangentially related. I want to play around with Web Assembly just to try to speed up (or perhaps parallelize) my own implementation of the "ray casting" "voxel" algorithm that the author demonstrates from the old Comanche game.

My straight Javascript implementation: https://github.com/EngineersNeedArt/Mooncraft2000

dingi 11/1/2025||
Honestly, Assembly is great. It's the most closer-to-the-metal, no-nonsense, raw experience you can get. The problem is that means it's also tedious and error-prone to write, but the elegant simplicity of the abstraction is still there.
msephton 11/2/2025|
Macros :)
fithisux 11/1/2025||
It is a very encouraging message.
davedx 11/1/2025||
Am I the only one who won’t click on links to something on medium.com?
anthk 11/1/2025|
Replace medium.com with scribe.rip in the URL
TacticalCoder 11/1/2025||
[dead]
jmspring 11/1/2025|
[flagged]