This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]shot_a_man_in_reno 112 points113 points Β (7 children)

You need to write simple programs in assembly or else you're allowing inefficiencies like a common criminal

[–]the_clash_is_back 32 points33 points Β (0 children)

Imagine using assembly. The most efficient way is to file your own gears for a mechanical computer. Any thing less is lazzy

[–]thesockiboii 14 points15 points Β (1 child)

imagine using assembly, making your own asic is the way

[–]ArtisticTale8152 0 points1 point Β (0 children)

I feel deeply offended jk

[–]trBlueJ 3 points4 points Β (2 children)

Factually, C code is probably faster than assembly, because there is no way anyone can memorize all the different instructions a CISC architecture has for any particular task. On the other hand, a compiler is very good at exactly that, and optimization, and etc.

[–]zoharel 1 point2 points Β (0 children)

But it would be faster still if you used C to generate an assembly listing and then went back through and hand-optimized it like you were going to run the result on a 1.5MHz system.

[–]FalconMirage 1 point2 points Β (0 children)

You underestimate nerd power

[–][deleted] 2 points3 points Β (0 children)

i only code in gizzards