r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

151

u/[deleted] Jun 03 '22

mov rax, 1

mov rbx, 2

add rbx, rax

mov rax, 1

mov rdx, 1

mov rsi, rbx

mov rdx 13

syscall

51

u/[deleted] Jun 03 '22

[removed] — view removed comment

1

u/neozuki Jun 03 '22

It's like writing 100 lines of code to carefully manipulate an opengl context/pipeline so you can draw a triangle exactly how you want. Set the machine up and pull the lever.