[Question] Unchangeable Code possible ?

I was thinking about AI going FOOM and one main argument I found is that it would just rewrite its own code.

Is there any research going into the direction of code that is not changeable ? Could their be code that is unchangeable ?

Would their be some obvious disadvantages other than that we could also not fix a misaligned AI instantly ?

Would something like this stop an AI going FOOM ?

No comments.