Re: IL Engineering Library
- Posted by katsmeow Mar 05, 2015
- 4210 views
Oooooooooooo , self modifying code! I've done that too, actually, but in machine code, many years ago. It saved me some 100 bytes of code, it was simply "this is the first time here", and "now we are exiting". It wasn't thread safe, but i very seldom ran multiple threads on the C64.
One small item about that, if it is permanently injected into the existing IL code that's running, the next string, or file, that needs evaluating/executing, likely will not be the same size, so perfectly overwriting it is unlikely. Can the injection operation accomodate different string sizes with each pass thru the code?
Kat