News for hackers. Stuff that matters.
Re:Lisp Hackers: Vladimir Sedach by cwzwarich on Tuesday March 05, 2013 @09:26PM (#5328933)
The C standard doesn't actually require as much from the implementation as you might think. Pointer arithmetic and comparison is only defined for pointers into the same array object (including one past the end), so it's completely possible to implement C with bounds-checked fat pointers. The most painful requirement is probably that there is a sufficiently large integral type to represent pointers across round-trip casts. In portable CL that would require you to track all allocated objects with a unique identifier or implement your own heap.

There are no comments on this comment yet.