Liste des Groupes | Revenir à co vms |
On 2024-08-16, John Dallman <jgd@cix.co.uk> wrote:Or if the application is passing pointers between code compiledIn article <v9j1o8$fql6$3@dont-email.me>, FIRST.LAST@vmssoftware.comOne of the nice things about higher-level languages such as C (when
(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?
>
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.
Les messages affichés proviennent d'usenet.