News for hackers. Stuff that matters.
Re:Why do our programs need to read input and write output? by Gabriel439 on Sunday October 08, 2017 @01:50PM (#15429148)
To make an analogy to Python: you don't need to recompile Python to interpret new Python programs. Chrome would be like Python: Chrome is itself a compiled program, but it interprets user settings and web pages.

Chrome is allowed to do whatever I/O it wants, but the programs it interprets (like user settings and web pages) are not allowed to do any I/O at all. These interpreted programs are sandboxed.

This isn't really surprising if you think about it. Chrome is already an interpreter for a sandboxed language (JavaScript)

There are no comments on this comment yet.