space background

William Heestand

Scroll to check out my projects.

Snowed In

A 2D multiplayer game with a client and server written in TypeScript.

Read more about this project

Firework

An implementation of the Minecraft server written in Rust.

Read more about this project

WillScript

A strictly typed LLVM based compiler built from the ground up in Rust. Supporting features including: functions, variables, types, namespaces, control flow, and more.

Read more about this project
fn fib(n: u64): u64 {
     if *n == 0 {
         return 0
     }

     let a = 0
     let b = 1
     let c = 1

     let i = 2
     loop {
          if *i > *n {
               break
          }
          c = *a + *b
          a = *b
          b = *c
          i = *i + 1
     }

     return *c
}