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

Non-Lisp languages

Name: Anonymous 2013-08-27 9:29

What's the best among them and by best I mea least shit.

Name: Anonymous 2013-08-28 1:58

Haskell is a language where strings are essentially garbage-collected
struct string {
     wchar_t *(*head)(void*);
     struct string *(*tail)(void*);
} *(*string)(void*);

and people are concerned with performance?
Actually it's more complicated than this because the functions are in CPS, strings are a boxed type so there's a tagged union to tell whether the character is a value or a thunk, anything could throw an exception, and there are probably more things I forgot about.

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