Exam Review

Writing type proofs

Mark & Sweep

2-space Copying Collector

Generational Collector

Self Passing

{bind [triangle = {(self n) => {if {<= n 0}
                                    0
                                    {+ n {self self {- n 1}}]
    {triangle triangle 100}}

Type Rule

a specific rule for a type

Type Proof

picture 1

a proof for a type of a piece of a program

2-space -> we know where memory goes

picture 2

“heres what memory looks like and the GC runs fraw me the after picture”

Referance Counting

every change to memory we update the referances everywhere

the reverse referance should not be enough to keep the node alive because they are out of convience so they should be weak referenaces.

Generational -> we know where memory goes

Date: 2024-12-04 Wed 00:00

Author: Anthony Rossi

Created: 2024-12-06 Fri 10:40