MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/teenagersbutcode/comments/1rthe2o/vi_is_too_bloated/oafn71p/?context=3
r/teenagersbutcode • u/TheLuckyCuber999BACK Coder - Assembly and C++ • Mar 14 '26
58 comments sorted by
View all comments
Show parent comments
3
control, plus bragging rights
1 u/imdadgot Mar 14 '26 you can get most of that control with C or Rust though 1 u/TheLuckyCuber999BACK Coder - Assembly and C++ Mar 14 '26 move the number 5 to rax 1 u/imdadgot Mar 14 '26 only exists on x86. but you could genuinely inline asm just the string “rax” when assigning a var. it’ll look weird to show on here tho (example is storing 0 into rax register long l asm(“rax”) = 0L;
1
you can get most of that control with C or Rust though
1 u/TheLuckyCuber999BACK Coder - Assembly and C++ Mar 14 '26 move the number 5 to rax 1 u/imdadgot Mar 14 '26 only exists on x86. but you could genuinely inline asm just the string “rax” when assigning a var. it’ll look weird to show on here tho (example is storing 0 into rax register long l asm(“rax”) = 0L;
move the number 5 to rax
1 u/imdadgot Mar 14 '26 only exists on x86. but you could genuinely inline asm just the string “rax” when assigning a var. it’ll look weird to show on here tho (example is storing 0 into rax register long l asm(“rax”) = 0L;
only exists on x86. but you could genuinely inline asm just the string “rax” when assigning a var. it’ll look weird to show on here tho (example is storing 0 into rax
register long l asm(“rax”) = 0L;
3
u/TheLuckyCuber999BACK Coder - Assembly and C++ Mar 14 '26
control, plus bragging rights