Sujet : Re: New VSI post on Youtube
De : clubley (at) *nospam* remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Groupes : comp.os.vmsDate : 19. Aug 2024, 13:38:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9ved2$2s11h$2@dont-email.me>
References : 1 2
User-Agent : slrn/0.9.8.1 (VMS/Multinet)
On 2024-08-16, John Dallman <
jgd@cix.co.uk> wrote:
In article <v9j1o8$fql6$3@dont-email.me>, FIRST.LAST@vmssoftware.com
(Robert A. Brooks) wrote:
>
There is a lot of VMS-developed C++ code that expects a pointer
size of 32, so in the case I cited, that compilation qualifer
will remain forever, because the code will not change.
>
Presumably, most of the open source ported to VMS uses 32-bit pointers?
>
One of the nice things about higher-level languages such as C (when
compared to Macro-32/BLISS and their associated OS APIs) is that the
pointer types are abstracted so the programmer doesn't need to worry
about pointer size differences in many cases unless they start using
VMS-specific APIs.
Of course, that all changes if you are porting crappy software that
tries to stuff addresses into integers or if you are doing device
driver/hardware work where things like bounce buffers may come into play.
Simon.
-- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFPWalking destinations on a map are further away than they appear.