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

You know what?

Name: Anonymous 2009-02-26 16:36

Pointers totally suck.

Name: Anonymous 2009-02-27 0:10

>>15
Depending on the dialect,
(defvar a (make-array 256))
(setf (aref a 97) 31009)


That's Common Lisp. Earlier dialects may vary (especially with respect to including SETF), but later-period Lisp machines would be like that. Lisp just doesn't represent arrays as a pointer to a block of memory, although obviously they are stored that way in memory, plus a bit of metadata like their size, and perhaps the type of data in them (for optimization purposes, not for static typing).

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