assembly 

the weird thing about optimizing x86 is how strange the language is
like

with arm you have a couple of rules and once you understand those you have a pretty good grasp on what the size of your code will be

but x86 has mistakes
20 years of them

which makes it so, for example, to clear register ax you can either do
mov ax, 0x0000 (which makes sense)
or
xor ax, ax (which most people actually do because its 1 byte smaller)

assembly 

@catoutofbed With how complex everything is and all the extensions out there, plus the fact that that smaller code isn't even guaranteed to be faster (leading to things like ENTER/LEAVE getting mostly ignored), I'm very happy leaving writing x86 assembly to gcc and focusing on writing optimized 6502 instead.

assembly 

@NovaSquirrel
that's fair
i've been doing some size optimized demos with my girlfriend the last few days which is why i brought it up

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!