4 ms·
Would there be any benefit from implementing types at the CPU level? Has it been tried? Like say adding an 8-bit type flag to each instruction, and keeping a t
by Razengan 2mo ago
Would there be any benefit from implementing types at the CPU level? Has it been tried?
Like say adding an 8-bit type flag to each instruction, and keeping a table of which memory ranges have which type, then only allowing compatible instructions on that memory?
- ssrc 2mo agoLisp machines come to mind, like the Symbolics 3600.
- lpribis 2mo agoYes it's been done a bunch of times in the past, see https://en.wikipedia.org/wiki/Tagged_architecture https://en.wikipedia.org/wiki/Tagged_architecture. Probably most notably lisp machines which the sibling comment mentioned.