Talk:Self-modifying code: Difference between revisions

Content deleted Content added
King John question: "It's complicated", but there is no reason to label all architectures that support self-modifying code on at least one OS as being "modified" von Neumann architectures.
TODO: Only if the code is generated at run time, and *that* only because the article discusses run-time generation even if existing code is *not* being modified, which I think is an error on the pare of the article.
Line 10:
Is a [[thunk]] and/or a [[trampoline (computers)]] also a kind of self-modifying code?
--[[User:DavidCary|DavidCary]] 03:01, 18 August 2005 (UTC)
 
:Not unless the code is generated at run time - and, even there, unless existing code is overwritten, ''I'' wouldn't call it self-modifying code. (I.e., I think this article should apply only to cases where existing code is modified; I don't think the generation of ''new'' code at run time can reasonably be described as code doing "self-modification".) [[User:Guy Harris|Guy Harris]] ([[User talk:Guy Harris|talk]]) 08:10, 15 May 2022 (UTC)
 
-----