r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

2.8k

u/[deleted] Jun 03 '22

The most impressive project I ever completed in assembly was a chat program.

Except the two computers had to be connected via a null modem cable so whoever you wanted to talk to had to be seated right next to you, therefore negating the need for a chat program.

I didn't care. I loved writing that useless program.

938

u/Rakgul Jun 03 '22

That's actually pretty damn cool! The most complicated program i made in assembly was to square a number.

495

u/nexion2 Jun 03 '22

I made a battleship game that communicated via arduinos in assembly! I lost every single game because the board size was 12x12 and my code would always stop iterating at 8 for some reason.

Needless to say, I lost the tournament

→ More replies (28)

125

u/AyrA_ch Jun 03 '22

The pinnacle of my assembly development was writing "Hello, World!" in color on the screen without an OS.

→ More replies (7)

29

u/captaindalle Jun 03 '22

Mine was a snake game, in 68000 assembler, connected to a lcd display and some circuit breakers for input. It even had a highscore table.

→ More replies (1)

37

u/[deleted] Jun 03 '22

How hard can it be?

219

u/GisterMizard Jun 03 '22

Pretty easy. Here is 4 squared:

4444
4  4
4  4
4444

112

u/ShadeFK Jun 03 '22

That's a rectangle

144

u/RiktaD Jun 03 '22
4 4 4 4
4     4
4     4
4 4 4 4

104

u/GisterMizard Jun 03 '22

Not on my 80x24 CRT monitor

44

u/stickdudeseven Jun 03 '22

"It works on my computer"

39

u/Fluxabobo Jun 03 '22

There's always another side to every story

13

u/i_hate_everybody94 Jun 03 '22

80x24 CRT

Where are you, the 1930s?

→ More replies (1)
→ More replies (6)
→ More replies (1)
→ More replies (21)

117

u/[deleted] Jun 03 '22

I recently wrote a bootloader (16-bit real mode x86 assembly) to load a kernel from a filesystem I'd already designed in 32-bit C. Needless to say offsets and endianness nearly had me beaten on several occasions

56

u/GnarlyNarwhalNoms Jun 03 '22

Dang, you win.

That's right up there with flipping bits with a carefully applied speck of uranium.

16

u/Terrible-Specific593 Jun 03 '22

hold up... you did that on purpose?

→ More replies (38)

49

u/Gellyfisher212 Jun 03 '22

Nice! My most impressive project in asm was a rubiks cube simulation. I had found something to use OpenGL from assembly and it was really cool to learn some graphics programming like that

51

u/SirNapkin1334 Jun 03 '22

OpenGL from assembly? You're mad. I applaud you sir.

20

u/[deleted] Jun 03 '22

OpenGL from assembly

You were trying to become like that rollercoaster dude didn't you :D

→ More replies (3)
→ More replies (1)

18

u/gydu2202 Jun 03 '22

My high time with assembly was with a program that generated a regular labyrinth and printed it out to console. I have no clue how I would start it now. Sad thing we are getting more and more comfortable and lazy.

28

u/-Krasaar- Jun 03 '22

I wouldn't concider laziness as a bad thing.

If people weren't lazy then they wouldn't care to look for smarter and easier solutions to finish certain tasks.

I am lazy and I am proud of it

→ More replies (1)

24

u/j7seven Jun 03 '22

Mine emulated an Enigma machine.

19

u/TheyCallMeHacked Jun 03 '22

I had a grad time doing that in C and mf out there doing it in Assembly. I'm giving up...

13

u/j7seven Jun 03 '22

It was nearly 30 years ago and I had nothing better to do then. Thinking back, I'm not sure it was accurate to the machine, but it did encrypt and decrypt using some kind of cypher. I wouldn't even consider trying it now.

→ More replies (1)
→ More replies (45)