Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

suckless unix tools

Name: Anonymous 2015-04-02 21:41

Name: Cudder !cXCudderUE 2015-04-29 11:57

...and your stupid function call bloat (5 bytes + import table + register save/return + ...) turns into a single 2-byte jump instruction if we use the power of goto:

goto loopin;
while(i<argc) {
ret|=(fputc(' ',stdout)==EOF);
loopin:
ret|=(fputs(argv[i++], stdout)==EOF);
}


I don't think I wrote the original ACU echo... if I did, it would look more like this.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List