CMU CS 17-670 Fall 2022

proj1 | proj2 | proj3 | proj4a | proj4b

Project 4A: Wee-O-Wasm Garbage Collector

In this project, you will extend your Wee-O-Wasm engine to implement a garbage collector. The objective of this project is to make your engine robust to long-running programs that would exhaust memory if their objects are not reclaimed.

You may choose any design for your collector as long as it can correctly reclaim cycles. That means that reference-counting will not be sufficient. It is not required to implement a moving collector. You may use conservative stack scanning, but that risks failing some test cases.

Your project will be evaluated by running it on programs that will run out of memory without a garbage collector.