On Sun, 24 Feb 2019 09:27:19 +0000
Gareth's was W7 now W10 Downstairs Computer wrote:
> AIUI the whole purpose of the cast facility is to be able to cast a
> number as an integer pointer for accessing memory=mapped I/O.
That is one use for it, far from the only one. It is also very
useful in many situations where an OO approach might seem more natural but
the efficiency of directly controlling the memory behaviour matters.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:\>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|