<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-23T12:39:07Z</responseDate><request verb="GetRecord" identifier="oai:uwspace.uwaterloo.ca:10012/14584" metadataPrefix="dim">https://dspacemainprd01.lib.uwaterloo.ca/server/oai/request</request><GetRecord><record><header><identifier>oai:uwspace.uwaterloo.ca:10012/14584</identifier><datestamp>2025-03-26T23:32:33Z</datestamp><setSpec>com_10012_9924</setSpec><setSpec>com_10012_1</setSpec><setSpec>col_10012_9930</setSpec><setSpec>col_10012_6</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Buhr, Peter</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="author" authority="1606ef3d-e2f0-4552-85f8-f0b54bd61932" confidence="600">Moss, Aaron</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2019-04-30T15:31:24Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2019-04-30T15:31:24Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2019-04-30</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">2019-04-25</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">http://hdl.handle.net/10012/14584</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract" lang="en">The C programming language has been an important software development tool for decades. C∀ is a new programming language designed with strong backwards-compatibility to take advantage of widely distributed C programming expertise and the large deployed base of C code, paired with modern language features to improve developer productivity.&#xd;
&#xd;
This thesis presents a number of improvements to C∀. The author has developed one major new language feature, generic types, in a way that integrates naturally with both the existing polymorphism features of C∀ and the translation-unit-based encapsulation model of C. This thesis also presents a number of smaller refinements to the C∀ overload resolution rules, each of which improves the expressivity or intuitive nature of the language.&#xd;
&#xd;
This thesis also includes a number of practical improvements to C∀ compilation performance, focused on the expression resolution pass, which is the main bottleneck. These include better algorithms for argument-parameter matching and type assertion satisfaction, as well as a new type-environment data-structure based on a novel variant of union-find. The compilation performance improvements have all been experimentally validated with a new prototype system that encapsulates the key aspects of the C∀ language; this prototype is a promising basis for future research and a technical contribution of this work.&#xd;
&#xd;
C∀, extended and refined in this thesis, presents both an independently interesting combination of language features and a comprehensive approach to the modernization of C. This work demonstrates the hitherto unproven compiler-implementation viability of the C∀ language design, and provides a number of useful tools to implementors of other languages.</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">programming languages</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">type inference</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">C language</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">polymorphism</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">generic types</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">expression resolution</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">type environment</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">union-find</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">name overloading</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">compiler construction</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">C∀</dim:field>
   <dim:field mdschema="dc" element="title" lang="en">C∀ Type System Implementation</dim:field>
   <dim:field mdschema="dc" element="type" lang="en">Doctoral Thesis</dim:field>
   <dim:field mdschema="dc" element="pending">false</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="department" lang="en">David R. Cheriton School of Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="discipline" lang="en">Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="grantor" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="uws-etd" element="degree" lang="en">Doctor of Philosophy</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="advisor">Buhr, Peter</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="affiliation1" lang="en">Faculty of Mathematics</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="city" lang="en">Waterloo</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="country" lang="en">Canada</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="province" lang="en">Ontario</dim:field>
   <dim:field mdschema="uws" element="typeOfResource" lang="en">Text</dim:field>
   <dim:field mdschema="uws" element="peerReviewStatus" lang="en">Unreviewed</dim:field>
   <dim:field mdschema="uws" element="scholarLevel" lang="en">Graduate</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>