As I said, the code segment can be made read-write-execute with a
call to mprotect.
On which operating systems can you guarantee that this is feasible?
Maxime... just do it, will you!
I proposed a simple solution that is probably quite fast and could easily be working within a week or two. I'm not going to radically change the design in a way I believe is incompatible with our research goals so we can gain a microscopic short-term performance advantage that isn't really required in the first place.
If you're going to continuously ignore my arguments and impose constraints on the project that might make the goal of my Ph.D. thesis (a self-optimizing compiler) impossible or way more difficult and tedious than it needs to be, then I'd rather quit the project for good, and I'm being serious.
It was the view of my M.Sc. supervisor, Prof. Laurie Hendren, that a Ph.D. thesis involved coming up with something creative and new. I can't do this if you're always trying to impose rigid design decisions on me which I believe are fundamentally opposed to what I'm trying to achieve.
I need some amount of creative freedom. If I can't have it here then I'll have to try and find it somewhere else. This makes me really sad because I think I'd be missing on a great opportunity, but I'm sick of the conflicts and the fighting and all the unneeded stress it causes me.
- Maxime