my girlfriend is trying to use a web-based generative art program written in javascript which freezes her entire computer every time a loop becomes too long (doesn't even need to be infinite). she loses control of the entire desktop and needs to reboot forcibly.
on windows 10, i don't have that problem, because by default today the OS is pretty robust against user-space programs halting the entire system. so how do you solve that on linux? change the program's priority, or "niceness". i want you to look up how to do that right now