910
you are viewing a single comment's thread
view the rest of the comments
[-] peoplebeproblems@midwest.social 9 points 3 days ago

Really? It was required when I was in college. We did MIPS, x86, and PIC.

I like it because there's no mysterious things happening to your bits. Every line is an instruction executed. You control the machine. It's power. It gives you power over the machines.

[-] DonutsRMeh@lemmy.world 9 points 3 days ago

I went to college for Microbiology and became a programmer on my own after, so nope, never written a single line in assembly and never thought of checking it out either. Just never really crossed my mind. I might start messing with it soon.

[-] peoplebeproblems@midwest.social 5 points 3 days ago

I... Don't recommend it. Rust if anything.

It's a neat party trick? Helps you understand how a processor works? But for anything modern, it's way more work than it's worth.

[-] Redkey@programming.dev 3 points 3 days ago

Go for it, if it's to satisfy your own curiosity, but there's virtually no practical use for it these days. I had a personal interest in it at uni, and a project involving coding in assembly for an imaginary processor was a small part of one optional CS course. Over the years I've dabbled with asm for 32-bit Intel PCs and various retro consoles; at the moment I'm writing something for the Atari 2600.

In the past, assembly was useful for squeezing performance out of low-powered and embedded systems, but now that "embedded" includes SoCs with clock speeds in the hundreds of MHz and several megabytes of RAM, and optimizing compilers have improved greatly, the tiny potential performance gain (and you have to be very good at it before you'll be able to match or do better than most optimizing compilers) is almost always outweighed by the overhead of hand-writing and maintaining assembly language.

[-] Klear@lemmy.world 1 points 3 days ago

If you're curious, I recommend this channel. It often delves deep into the code to explain stuff, as well as how the hardware works. Really fascinating!

[-] DonutsRMeh@lemmy.world 2 points 3 days ago

This is a very interesting channel. Thank you

[-] expr@programming.dev 5 points 3 days ago

That wasn't required in my CS program, though instead we had to design our own instruction set and assembler. Obviously it was an approximation, though.

this post was submitted on 06 Aug 2025
910 points (99.3% liked)

Programmer Humor

25594 readers
1410 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS