Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:...
James Kuyper <jameskuyper@alumni.caltech.edu> writes:
I asked Google Gemini "Which implementations of C implement a null
pointer whose representation is not 0?", and it identified 5 ...
I'll add a sixth; while we looked at doing a C compiler,
it didn't get any traction from customers
- Burroughs Medium Systems (hardware nulptr = 0xEEEEEE)
The architecture featured an instruction to search linked
lists (SLT) and the hardware recognized the base offset
0xEEEEEE as the NIL pointer. It was a BCD architecture
addressed to the digit (nibble).
On Tue, 28 Jul 2026 01:18:11 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote:
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:...
James Kuyper <jameskuyper@alumni.caltech.edu> writes:
I asked Google Gemini "Which implementations of C implement a null
pointer whose representation is not 0?", and it identified 5 ...
I'll add a sixth; while we looked at doing a C compiler,BCD should have been a much bigger problem than nullptr. Everything
it didn't get any traction from customers
- Burroughs Medium Systems (hardware nulptr = 0xEEEEEE)
The architecture featured an instruction to search linked
lists (SLT) and the hardware recognized the base offset
0xEEEEEE as the NIL pointer. It was a BCD architecture
addressed to the digit (nibble).
since C89 has required 'pure binary (magnitude)' for integer types,
and effectively a binary fraction for FP. How could you have gotten
bit operators (& | ^ ~ << >>) to work right?
On Tue, 28 Jul 2026 01:18:11 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote:
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:...
James Kuyper <jameskuyper@alumni.caltech.edu> writes:
I asked Google Gemini "Which implementations of C implement a null
pointer whose representation is not 0?", and it identified 5 ...
I'll add a sixth; while we looked at doing a C compiler,BCD should have been a much bigger problem than nullptr. Everything
it didn't get any traction from customers
- Burroughs Medium Systems (hardware nulptr = 0xEEEEEE)
The architecture featured an instruction to search linked
lists (SLT) and the hardware recognized the base offset
0xEEEEEE as the NIL pointer. It was a BCD architecture
addressed to the digit (nibble).
since C89 has required 'pure binary (magnitude)' for integer types,
and effectively a binary fraction for FP. How could you have gotten
bit operators (& | ^ ~ << >>) to work right?
On Tue, 28 Jul 2026 01:18:11 GMT, scott@slp53.sl.home (Scott Lurndal)
wrote:
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
James Kuyper <jameskuyper@alumni.caltech.edu> writes:
...
I asked Google Gemini "Which implementations of C implement a null
pointer whose representation is not 0?", and it identified 5 ...
I'll add a sixth; while we looked at doing a C compiler,
it didn't get any traction from customers
- Burroughs Medium Systems (hardware nulptr = 0xEEEEEE)
The architecture featured an instruction to search linked
lists (SLT) and the hardware recognized the base offset
0xEEEEEE as the NIL pointer. It was a BCD architecture
addressed to the digit (nibble).
BCD should have been a much bigger problem than nullptr. Everything
since C89 has required 'pure binary (magnitude)' for integer types,
and effectively a binary fraction for FP. [...]
How could you have gotten bit operators (& | ^ ~ << >>) to work
right?
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 121:16:40 |
| Calls: | 1,194 |
| Files: | 1,352 |
| Messages: | 290,208 |