Comment by programLyrique
15 hours ago
There are some experiments in using copy-and-patch for the R language (after Python): https://dl.acm.org/doi/10.1145/3759548.3763370
From a master thesis: https://www.itspy.cz/wp-content/uploads/2025/09/it_spy_2025_...
Featuring self-modifying code - it can repatch emitted instruction at runtime based on the current value type.