News for hackers. Stuff that matters.
Re:A New R6RS Scheme Compiler by exDM69 on Wednesday October 02, 2019 @05:27AM (#21134650)
The related article about using CPU alignment checking for "type checking" tagged pointers is quite interesting. I wonder if this technique has been used before (in lisp machines or something?). I'd be interested in hearing about practical matters like performance and CPU support too.

https://weinholt.se/articles/alignment-check/

Re:A New R6RS Scheme Compiler by rjsw on Wednesday October 02, 2019 @11:10AM (#21137276)
The SPARC CPU was designed to make use of this. Alignment checking was enabled by default, the tagged add/sub instructions required that the tag in the lower two bits for an integer was 0, tags for pointers were expected to be 3.

Lisp Machines were word addressed so the technique wouldn't work for them.

Re:A New R6RS Scheme Compiler by crististm on Wednesday October 02, 2019 @08:25AM (#21135614)
Lisp machines used tag bits