As long as it is the horse’s mouth and not another piece of the anatomy. There were Pascal, Algol and PL/1 implementations that ran on multiple architectures natively with a high degree of portability. Of course there was also thing like basic interpreters where the programs would run on any architecture (the headache was moving the source code from one system to another).
C became portable when CPU architectures became 32-bit almost entirely. One of my jobs was developing the specifications for a mini-computer company’s C programming standards. You could not use any of the default types since int and long could be 32 or 16 bit. You could not equivalence a integer and a pointer since they were not always the same size, and some systems there were distinct word and byte pointers. Originally, the effort was to lead to a lint like program to check the portability, we gave up on this.
Don Burn
Windows Driver Consulting
Website: http://www.windrvr.com
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, January 17, 2018 2:24 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] C++ standards proposal for kernel STL subset
Point taken, Don.
What other language was quite portable at that time, at that level ?
Asking to hear from horses mouth
-pro
On Wed, Jan 17, 2018 at 11:19 AM, xxxxx@windrvr.com wrote:
> “But for sure not at the register level. C really does not force you think at that level ( first portable language widely popular for different arch !)”
>
> It was far from portable in the early days, and there were other languages that were as portable in the same era. The problem with C is it does expose the architecture of the system to a large degree. I suffered through the nightmares of helping port Unix to a number of platforms that did not look like PDP-11’s. The language was a pain because not everyone had byte pointers, the joys of little endian versus big endian when people typecast, and a number of other smaller annoyances.
>
>
> Don Burn
> Windows Driver Consulting
> Website: http://www.windrvr.com
>
>
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: http:
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at http:
—
NTDEV is sponsored by OSR
Visit the list online at: http:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at http:
To unsubscribe, visit the List Server section of OSR Online at http:</http:></http:></http:></http:></http:></http:>