Re:Runtime code modification. Erlang? No, Python
by lloeki on Thursday August 18, 2011 @11:30AM
(#2899552)
You could do the same on compiled C by attaching gdb to the process and changing the timeout value so this has not much to do with "scripting". Just saying.
[ Parent
| on HN ]
Re:Runtime code modification. Erlang? No, Python
by praptak on Thursday August 18, 2011 @11:55AM
(#2899677)
True but this was only about values. Changing values is not the most you can do with dynamic languages at runtime. In Python it is possible to create a completely new method implementation at runtime.
Not to say that dynamically changing code at runtime is totally impossible in C - buffer overflow attacks do exactly that.