Handin 1
For this and the following handins you need to form groups of 2-3 persons. When you have formed a group please send an email to Mathias containing the student IDs and names of the group members.
In this assignment you are given a non-threaded interpreter and your task is to make it threaded as defined in the articles for next week. This file contains the non-threaded implementation plus a simple test suite to measure the performance.- Read the articles
- Threaded Code
- The Structure and Performance of Efficient Interpreters
- Background reading: The Smalltalk-80 System
- Implement a threaded interpreter in GNU C
- Measure performance impact of threading
- Compare compiled code: switch ~ threaded
- Hand in written "report" - a few pages containing
- Source code
- Results of performance measurements
- Compiled code for the interpreter variants (objdump -d)
You can hand in using the online handin system in the login section of this web page. You should send an email with your group members before handing in. Do not hand in before your group is registered
