Steve D'Aprano wrote:
On Fri, 13 Oct 2017 03:37 pm, Gregory Ewing wrote:

If the compiler can tell where p is initially pointing, it could
put the pointer in read-only memory.

If it's read-only, how can the compiler write to it?

(I come from the days when ROM was actual ROM, burned in at the factory.)

So, the factory is allowed to write to it. Possibly
it's writing data that came from... a compiler?

A memory that couldn't be written to at all, ever, would
be a bit useless!

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to