freenode/#lisp - IRC Chatlog
Search
19:22:36
alandipert
vms14 oh, just because he started with the compiler and bytecode interpreter in PAIP and ended up with a lisp system with cooperative multitasking and an emacs clone
19:31:08
Nilby
I just took it as entertainment. What I actually want to use is the other way around, the browswer inside emacs inside CL.
19:32:05
vms14
ebrasca: because I'm not able to find how to start playing withthat, more than with the turtle library
19:35:29
vms14
ebrasca: it's a "cursor" that goes drawing lines when it moves, just take a look at the slip site
19:36:48
vms14
the thing is I want to use slip for making a blog, but the documentation says "look at this shiny code I wrote and figure it by yourself :D"
19:42:22
Nilby
Well documented things destroy our opportunity to practice writing documentation, and independently understanding dense and arcane code.
19:52:46
vms14
docstrings talk about what a function does, write documententation is a thing we usually don't want to do, specially if we don't know how many people would use that
19:54:27
vms14
anyway I suppose lispers are used to look at the code and track what the heck the software is doing
22:06:10
Xach
A long time ago I bought a book about X, and it mentioned that some limits are what they are to accomodate Common Lisp tagged integers.
22:13:46
no-defun-allowed
Basically they allow a fixnum to be represented in one word without heap memory by jamming the fixnum in the pointer with a different bit pattern to actual pointers.
0:09:24
pjb
jfb4: the tag could be stored in a separate byte, perhaps near the word where the integer is stored, perhaps not. Perhaps it's not even associated directly with the integer, but instead, with the memory page, ie. the address where the integer is stored (integer or other type).
0:13:54
pjb
jfb4: but it is correct that the X11 protocol is specified leaving the upper 3 bits in its handles set to 0, to make it simple for lisp and other tagged languages to use it. https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#Common_Types
0:15:14
pjb
jfb4: note that usually tags in fixnums are stored in the lower bits instead, since it makes it more easily to manipulate on a normal 32-bit processor (additions and subtractions can be performed without change, multiplications and division by prefixing or suffixing a shift operation on one of the arguments).