Abstract
dc:description.abstractWebAssembly is an up and coming binary format for the Web. It has been increasingin usage since the release of its minimum viable product in 2017. This minimum viableproduct has succeeded in showing the potential of a binary format for the web. However,this binary format is only most viable when targeted by low-level languages, such as Cor Rust. To increase the viability, and decrease friction for other languages, we present agarbage collector for WebAssembly. This is a mandatory feature for many programminglanguages to manage memory, and its absence complicates the usage of many languageswith WebAssembly. To deal with the limited type system of WebAssembly, a conservativegarbage collection approach is used. We also assemble a collection of benchmarks to evaluateour approach against. We find promising results, with the conservative collector being on-par to better in runtime than at least one commonly used memory management solutionfor compiling C to WebAssembly. We believe we have successfully shown the viability ofconservative garbage collection for WebAssembly, which would provide a means of portingmore new languages to the Web
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sandum, Nathan
- Advisor dc:contributor.advisor
-
- Clark Verbrugge (Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 1598294761
- Identifier URI
- https://hdl.handle.net/20.500.14905/124443
- Dc Identifier Other
- hyrax:t148fp942