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

Who needs functional programming...

Name: Anonymous 2015-11-16 6:31

when C has function pointers?

Name: Anonymous 2015-11-18 8:54

a function can't return a pointer to a function of the same type
Who cares, nerd?
struct func { struct func *(*func)(void); };

They also suck for performance because they're huge (who needs a value that can cover the full address space - almost nobody; you're just wasting precious cache) and make branch prediction harder than it needs to be (shared code that dererferences externally furnished function pointers can land nearly anywhere, every time).
Use a better compiler nerd, rofl.

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