HYBLM.dev
.dev
H
Y
B
L
M
🦀
← All Projects

Performance Aware Programming Course

Rust Assembly x86

computerenhance.com is an online course explaining what you need to know and think about in order to produce performant programs. The curriculum includes weekly homework that gradually builds up into larger projects.

8086 simulator

In order to get a feel for the work a CPU needs to do when executing code and to get a decently proficient in reading assembly, the course has you building an 8086 emulator.

Haversine distance

Given example problem of quickly computing a large number of haversine distances loaded from JSON, we built:

  • a JSON parser
  • a custom instrumentation based profiler
  • a repetition testing harness to compare runtime of different approaches that runs each function many times over to eliminate statistical outliers
  • a custom implementation of sine and cosine