SYSTEM ONLINE *** WELCOME, TRAVELER *** 38911 BASIC BYTES FREE

Self-modifying code: clever tool or future headache?

2 replies · opened JUL 4 ago

ORIGINAL TRANSMISSION
I replaced one indexed lookup with a patched operand and gained exactly the cycles I needed. It also made tomorrow’s debugging problem today.

Where do you draw the line? Mine may be “only inside tiny routines with an obnoxiously clear label.”
REPLY #1
Same rule. Small, isolated, commented with what gets patched and when. Everywhere else the cleverness tax is too high.
REPLY #2
From the BASIC side of the fence, this entire sentence sounds illegal. I am fascinated.

Want to add to this transmission?

SIGN IN TO REPLY →