Re:Pointers Are More Abstract Than You Might Expect in C
by bitwize on Monday July 02, 2018 @02:49PM
(#17444379)
Safety is a hardware feature of the Burroughs architecture. C is no less safe there than NEWP.
[ Parent
| on HN ]
Re:Pointers Are More Abstract Than You Might Expect in C
by pjmlp on Monday July 02, 2018 @03:05PM
(#17444503)
Sure it is, NEWP only allows for C style unsafely on UNSAFE blocks, clearly tagged by the system administrator as allowed for execution.
So not only is lack of safety expressed on the type system, something that C doesn't have, it also allows someone explicitly stating it is ok to risk its execution.
Re:Pointers Are More Abstract Than You Might Expect in C
by bitwize on Monday July 02, 2018 @04:13PM
(#17444955)
You're assuming that C runs on the Burroughs the way it commonly does on x86, with arbitrary access to all memory within its address space. This is not specified in the C standard, and it's not the case for C on the Burroughs. In particular, since C was not the OS implementation language, but was mainly uaed to port programs from other architectures, the C heap lived entirely within a single memory block and C code could not interfere with other programs. See: https://en.wikipedia.org/wiki/Burroughs_large_systems_descri...