For each paper, you should submit two text files via the Gradescope submission web site, as described below. The submission is due before lecture.
answer.txt
.
question.txt
. You cannot use the question below. To the
extent possible, during lecture we will try to answer these questions. If
you submit your question before midnight the day before lecture, then there
is a chance we will answer by email. Below, we have included the questions
we've received from students in past years (when available), along with
answers to those questions, in case you find it helpful.
Lecture 3
WebAssembly's design is simple but effective at supporting a high-performance runtime: that is, making it possible to safely run WebAssembly code in a sandbox while still achieving high performance. To help you appreciate what makes WebAssembly good at this goal, consider three alternatives: Python code, C code, and machine code (e.g., x86 or ARM).
What makes it difficult to write high-performance sandboxed runtimes for each of these three alternatives?