News for hackers. Stuff that matters.
Re:Runtime code modification. Erlang? No, Python by michokest on Thursday August 18, 2011 @11:11AM (#2899461)
That's one advantage of scripting languages :)
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.
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.

Re:Runtime code modification. Erlang? No, Python by m0th87 on Thursday August 18, 2011 @11:26AM (#2899536)
Depends on how you define a "scripting" language. If you mean an interpreted language, then it's not true; you can do hot code swapping on native code. Erlang's HiPE does this.