this post was submitted on 04 Aug 2024
492 points (100.0% liked)

Programmer Humor

22274 readers
2123 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
 
top 15 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 43 points 8 months ago (1 children)

I bought a PC kit and it said "some assembly required" so I always try to link at least one asm file in my projects.

[โ€“] [email protected] 6 points 8 months ago

Hahahaha ๐Ÿคฃ

[โ€“] [email protected] 18 points 8 months ago (1 children)

Generally speaking the OS is your universe and you interact via syscalls. Linking libc is also an option.

In some instances you may need to roll your own, but it's likely to be small and specialized.

[โ€“] [email protected] 20 points 8 months ago (1 children)

:stares in genX:

That's not assembly, that's ikea.

Back in my day...

[โ€“] [email protected] 6 points 8 months ago

Remember before .dlls were a thing and you had to write your own config files for every game that you installed on DOS?

[โ€“] [email protected] 14 points 8 months ago* (last edited 8 months ago)

I was taught assembler in my second year at school

It's kind of like construction work

With a toothpick, for a tool

~ The Eternal Flame, by Bob Kanefsky

[โ€“] [email protected] 11 points 8 months ago (2 children)

I have. Mostly on embedded devices that have no OS and you need something very specific.

... Or that one time i was reverse engineering a console kernel. I wrote arm asm then. Was actually fun to do tbh

[โ€“] [email protected] 4 points 8 months ago (1 children)

ARM assembly is so lovely to work with compared to the old CISC garbage.

[โ€“] [email protected] 1 points 8 months ago (1 children)

m68k assembly was my favorite back in the day.

[โ€“] [email protected] 1 points 8 months ago

I love ARM assembly so much that I'm looking at it right now.

[โ€“] [email protected] 3 points 8 months ago (1 children)
[โ€“] [email protected] 2 points 8 months ago* (last edited 8 months ago)

Haha ye. It is super interesting to see all those OS principals and seeing how nintendo implemented them. Stuff i will never forget either and some design patterns i have implemented in my actual job too

[โ€“] [email protected] 4 points 8 months ago (1 children)

If everything above ASM is the Universe, what is below? What is the ALU, CU and everything else that goes into Processor design? What comes before the Universe?

[โ€“] [email protected] 4 points 8 months ago

Solid state physics.

[โ€“] [email protected] 3 points 8 months ago

I write assembly for test cases and early setup code. I read far more assembly than I write.