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

So I see many of you around here use

Name: Anonymous 2014-11-18 17:53

assembly. Is it just trollin' for /prog/, or do you actually perform your general-purpose programming in assembly? Is it really feasible to be a productive programmer by using just ASM?

Name: Anonymous 2014-11-19 18:07

>>19
Why the fuck you'd want to use a linked list for 4 or 8-byte things
Haskellers use them even for chars. I.e. Haskell Strings are just linked lists of chars. That's right, 5 words of overhead to store just one byte. Actually, there's even more overhead for lazy Strings (which they are by default), because every char is actually a thunk (a function from () to a char)...

The long story is that in Haskell, linked lists stand for iteration and get compiled to tight loops with no actual list consing... but stream fusion (which is the name for this optimization) didn't really turn out so great, and now most linked lists are just linked lists, bloated and stupid.

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