4 ms·
> There are still no structs/objects/whatever, so you're stuck using lists for everything. Real lisps grew out of that long ago. http://www.gnu.org/software/em
by deng 13y ago
> There are still no structs/objects/whatever, so you're stuck using lists for everything. Real lisps grew out of that long ago.
http://www.gnu.org/software/emacs/manual/html_node/cl/Structures.html http://www.gnu.org/software/emacs/manual/html_node/cl/Struct...
http://www.gnu.org/software/emacs/manual/html_mono/eieio.html http://www.gnu.org/software/emacs/manual/html_mono/eieio.htm...
- marijn 13y agoThese are macros on top of vectors, aren't they?
- deng 13y agoYup. Not good enough?
- marijn 13y agoMy experience is that vector-based structs don't perform as well as 'real' structs do (the compiler isn't able to infer their type or the type of their content, has to do bounds checking for every access, etc), and occasionally make debugging painful, but yes, they are actually a lot better than just using lists throughout.
- deleted 13y ago[deleted]