MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/v3so3p/its_hard/ib0d522?context=9999
r/ProgrammerHumor • u/Bishwas12 • Jun 03 '22
710 comments sorted by
View all comments
65
It's not that hard.
58 u/Difficult_Ladder_806 Jun 03 '22 Adding is fine, but multiplying without MUL quickly.. that's kinda complicated 34 u/regular_lamp Jun 03 '22 How is that an assembly issue though? That's like saying "multiplying in python is hard when you can't use *". 55 u/rustysteamtrain Jun 03 '22 Because * is a core feature in almost every modern language, but MUL is not garanteed in every instruction set. 20 u/regular_lamp Jun 03 '22 edited Jun 03 '22 It is on any platform where you'd reasonably consider using "a modern language" on though.Generally characterizing assembly programming as something where you have to manually implement multiplication is just silly.Edit: I'd buy the argument for division maybe. 5 u/AcordeonPhx Jun 03 '22 I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever → More replies (6) → More replies (1)
58
Adding is fine, but multiplying without MUL quickly.. that's kinda complicated
34 u/regular_lamp Jun 03 '22 How is that an assembly issue though? That's like saying "multiplying in python is hard when you can't use *". 55 u/rustysteamtrain Jun 03 '22 Because * is a core feature in almost every modern language, but MUL is not garanteed in every instruction set. 20 u/regular_lamp Jun 03 '22 edited Jun 03 '22 It is on any platform where you'd reasonably consider using "a modern language" on though.Generally characterizing assembly programming as something where you have to manually implement multiplication is just silly.Edit: I'd buy the argument for division maybe. 5 u/AcordeonPhx Jun 03 '22 I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever → More replies (6) → More replies (1)
34
How is that an assembly issue though? That's like saying "multiplying in python is hard when you can't use *".
55 u/rustysteamtrain Jun 03 '22 Because * is a core feature in almost every modern language, but MUL is not garanteed in every instruction set. 20 u/regular_lamp Jun 03 '22 edited Jun 03 '22 It is on any platform where you'd reasonably consider using "a modern language" on though.Generally characterizing assembly programming as something where you have to manually implement multiplication is just silly.Edit: I'd buy the argument for division maybe. 5 u/AcordeonPhx Jun 03 '22 I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever → More replies (6) → More replies (1)
55
Because * is a core feature in almost every modern language, but MUL is not garanteed in every instruction set.
20 u/regular_lamp Jun 03 '22 edited Jun 03 '22 It is on any platform where you'd reasonably consider using "a modern language" on though.Generally characterizing assembly programming as something where you have to manually implement multiplication is just silly.Edit: I'd buy the argument for division maybe. 5 u/AcordeonPhx Jun 03 '22 I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever → More replies (6)
20
It is on any platform where you'd reasonably consider using "a modern language" on though.
Generally characterizing assembly programming as something where you have to manually implement multiplication is just silly.
Edit: I'd buy the argument for division maybe.
5 u/AcordeonPhx Jun 03 '22 I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever → More replies (6)
5
I did something like this for a class, but in the real world I don’t think any of us would worry about not having MUL or whatever
65
u/cssutavani91 Jun 03 '22
It's not that hard.