3 ms·
My personal favorite feature in PL/1 was the zero overhead matrix transpose. You achieved this by mapping two matrix declarations onto the same storage, one spe
by jdougan 5y ago
My personal favorite feature in PL/1 was the zero overhead matrix transpose. You achieved this by mapping two matrix declarations onto the same storage, one specifying column-major and the other row-major. We used to joke the PL/1 declaration system was turing-complete.
- moonchild 5y agoThe interesting use-case for transposition is not just switching around indices, but changing layout so a given access pattern exhibits greater locality. No getting around the overhead there :/