So for instance GNU coreutils, bash, etc. could be compiled to run in a browser tab.
I suggest you read the article about the Javascript trap about exactly this type of danger. Depending on someone else to even be able to run your program is something we defintily do not want.