Build systems

Build systems

Build systems

In this series we explore various build systems. Each tutorial explains how to create a new project, how to add source and test code, and how to compile the project into an executable.

  • Swift Package Manager: [post] [code]
  • Java projects with Gradle: [post] [code]
  • Julia projects with Pkg: [post] [code]
Linear algebra in Swift

Linear algebra using Swift

Linear algebra in Swift

We cover multiple topics in linear algebra. In each tutorial we first explore the theory behind a technique, and afterwards we implement it using the Swift programming language.

  • Matrix class: [post] [code]
  • Cramer's rule: [post] [code]
CORDIC

CORDIC

CORDIC

The articles below cover various aspects of the CORDIC algorithm. We cover both the theory and the practical implementation of the algorithm. Due to the strong link with trigonometry, we also provide visualisations.

  • Sine and Cosine using CORDIC: [post]
  • Implementing CORDIC in Python: [post] [code]
  • Visualising CORDIC in Python: [post] [code]
ode_numeric

Numerical methods for ODEs

ode_numeric

We explore different methods to numerically solve ordinary differential equations, covering both theory and implementations.

  • Intro + Forward Euler's method: [post] [code]
  • Backward Euler's method: [post] [code]
  • An interface for ODE solvers: [post] [code]

Changelog

  • 2024-06-09: Added blogpost about the Swift package manager.
  • 2024-07-05: Added blogpost on coding matrices in Swift.
  • 2024-07-29: Added blogpost on Cramer's rule.
  • 2024-09-02: Added blogpost on CORDIC.
  • 2024-10-01: Added blogpost on Gradle.
  • 2024-11-27: Added blogpost on creating Julia projects.
  • 2025-03-01: Added blogpost on the forward Euler method.
  • 2025-07-08: Added blogpost on the backward Euler method.
  • 2025-07-19: Added blogpost on a user-friendly interface for ODE solvers.