Projects · Engineering practice

Software with a scientific purpose.

Research software and systems work across numerical computing, parallel execution, and low-level C/C++ engineering.

HOW THE WORK CONNECTS

Builds become useful when they leave a trace.

Code, experiments, papers, and documentation make a project easier to inspect, reproduce, and extend.

FEATURED 3D LAB · 08 / SYSTEMS PROGRAMMING

Iterative complex fractal generator in C.

A C99 mathematical engine computing Mandelbrot, Julia, Burning Ship, Tricorn, and Celtic dynamics via polymorphic complex recurrence, continuous escape-time renormalization, and direct framebuffers.

01 / DYNAMICSComplex Recurrences

Multi-equation dynamics: Mandelbrot (z² + c), Julia sets (z² + c₀), Burning Ship ((|Re| + i|Im|)²), Tricorn (z̄² + c), and Celtic folds.

02 / COLORINGSmooth Potential

Continuous renormalization (ν = i - log₂(ln|z|)) removing discrete color banding across multi-theme spectral palettes.

03 / RENDERMemory Buffer

Direct MiniLibX memory-mapped pixel array, zero-allocation blit with bpp pitch stride and line-interleaved rendering.

04 / VIEWPORTPlane Navigation

Continuous zoom centering, complex coordinate scaling, real-time constant mutation, and interactive 3D heightfield projection.

C99MINILIBX5 EQUATIONSCOMPLEX MATHSMOOTH COLORINGPIXEL BUFFERJULIA & SHIP3D TERRAIN
Jump to project record #08 ↓
MANDELBROT / 3Dfract2L ↓GitHub ↗
zₙ₊₁ = zₙ² + c
Mandelbrot escape-time terrainA sampled complex plane, with height and color showing logarithmically scaled escape time. Amber plateaus mark samples that have not escaped after 160 iterations. This is a heightfield visualization of the two-dimensional Mandelbrot set.
GRID 49 × 41 · 3840 FACETS CAP 160
Re [−2.2, 0.8] · Im [−1.25, 1.25]STATIC 3D PROJECTION

07 / SYSTEMS PROGRAMMING · 3D GRAPHICS

Per-pixel software raycasting in C.

A real-time pseudo-3D engine written in C99 without GPU acceleration, implementing DDA spatial ray traversal, perspective correction, and texture mapping.

01 / RAYCASTERDDA Grid Step

Fast Digital Differential Analysis walking 2D map grids in O(1) space with zero trigonometry.

02 / PROJECTIONEuclidean Depth

Perpendicular wall distance perpWallDist calculation preventing fish-eye distortion.

03 / TEXTURINGVertical Slicing

Exact column slice height calculation, sub-pixel texture u,vcoordinate sampling.

04 / PIPELINERaster Engine

Software double-buffering via MiniLibX, minimap radar overlay, and continuous collision response.

C99RAYCASTINGDDA ALGORITHMMINILIBXSOFTWARE RENDERTEXTURE UV
Jump to project record #07 ↓
CUB3D / TEAM PROJECTProject details ↓Source ↗
SOFTWARE RAYCASTING96 RAYS · FOV 66°
Cub3D corridor and overhead mapA perspective corridor with teal and amber walls, a world-aligned floor grid, ceiling lights, and an overhead map showing the viewer's heading.
STATIC PREVIEW12 × 9 GRID · DDA · DEPTH FOG
pos [3.50, 3.50] · θ 0.0°WORLD UNITS

Static preview of the C raycasting project.Drag to look · arrows / WASD to explore · R to reset. Vertical swipes scroll.

06 / SYSTEMS PROGRAMMING · POSIX

A POSIX shell, observed at process level.

A C99 POSIX.1-2008 shell decoupling stream tokenization, AST grammar validation, and multi-stage kernel process execution with signal safety.

01 / LEXERFSM Tokenizer

Typed tokens (WORD, PIPE), quote states, leak-free $ENV.

02 / PARSERRecursive AST

Grammar validation with POSIX precedence (| > < > >).

03 / EXECPOSIX Syscalls

fork(), pipe(), dup2() I/O routing & setpgid.

04 / SIGNALSAsync Safety

sigaction() (SIGINT 130, SIGQUIT) & heredoc buffers.

C99POSIX.1-2008LEXER FSMAST PARSERPIPES & DUP2SIGNALS
Jump to project record #06 ↓
MINISHELL / POSIX TERMINALProject details ↓Source ↗
POSIX.1-2008 · /bin/minishell · STATUS: 0 (OK) 14:53:31 UTC
azouine@goodman: ~/minishell
ttys001xterm-256color
$ info
azouine@goodman
OS: Goodman POSIX 1.0.4 (x86_64)
Host: Systems Programming Lab
Shell: /bin/minishell (POSIX.1-2008 in C99)
Uptime: 14 days, 6 hours
Memory: 18.4 MB (zero memory leaks)
Pipelines: Multi-stage fork() · pipe() · dup2()
Signals: SIGINT (130) · SIGQUIT (131) · SIGCHLD
$ ls
Makefile  README.md  builtin.c  exec.c  parser.c  signals.c
$ pwd
/home/ahmed/minishell
Quick:
PID 4096BUILTINS 9FD 0 (STDIN) · 1 (STDOUT) · 2 (STDERR)CWD ~/minishellSHELL READY

Static Minishell POSIX terminal preview.Type commands (ls, cat README.md, info, ps, date, pwd, help), click quick chips, or test pipeline/signal scenarios. Press Ctrl+C to trap signals.

10 / DISTRIBUTED SYSTEMS · REAL-TIME 3D

Real-time 3D multiplayer Pong & tournament engine.

A full-stack multiplayer 3D sports platform decoupling client-side WebGL rendering, authoritative physics synchronization, and containerized microservices.

01 / GRAPHICSThree.js Canvas

3D perspective camera, dynamic table illumination, paddle meshes, and 360° orbital presentation.

02 / PHYSICSRestitution Math

Continuous paddle collision, tangential angular velocity spin deflection, and acceleration vectors.

03 / SYNCWebSocket Duplex

Low-latency authoritative game loop, tick reconciliation, and real-time state broadcast.

04 / ARCHITECTUREDocker Services

Containerized microservices, JWT authentication, and automated bracket tournament engine.

TYPESCRIPTTHREE.JSWEBSOCKETSDOCKER COMPOSEREAL-TIME 3DTOURNAMENT
Jump to project record #10 ↓
TRANSCENDENCE / TEAM PROJECTProject details ↓
LOCAL EXHIBITIONSTATIC PREVIEW
P10000P2
FIRST TO 11
WIN BY TWO
Transcendence table tennis exhibitionA green court in perspective, with cyan Player 1 at the near end, amber Player 2 at the far end, a standing mesh net, and a yellow ball. The local exhibition uses assisted rally feeds.
SPEED 4.2 m/s · SPIN 286 rpm · RALLY 00CAMERA BROADCAST

Static preview. A local SVG exhibition inspired by the multiplayer project.Drag / ← → / A D to control paddle · 360° ORBIT for animated camera · Space to arm smash · R to feed a rally · P1 assist plays for you.

Engineering Directory

Complete codebase repository across scientific computing, high-performance computing, systems programming, and distributed architectures.

[01]Scientific Computing
Featured

Modernization of a Reactive Compressible Multi-Species Solver

Bringing a legacy Fortran scientific solver into a modular C++17 architecture, separating physics, numerics, and systems layers while preserving numerical fidelity and preparing for exascale execution.

  • Fortran
  • C++17
  • MPI
  • OpenMP
  • Parallel HDF5
  • Cantera
  • SLURM
  • CMake / CTest
  • WENO-5
  • TENO
  • Numerical Methods
  • Verification & Validation
  • Performance Engineering
[02]Distributed Systems
Featured

MPI Trace Compass Causality Analysis

Automated performance diagnosis of distributed MPI execution traces using Eclipse Trace Compass and LTTng-UST. Reconstructs token-ring message-passing timelines, maps OS kernel threads to MPI ranks, performs critical-path latency analysis, and renders causality arrows via custom EASE scripts.

  • MPI
  • LTTng-UST
  • Eclipse Trace Compass
  • EASE Scripting
  • Performance Tracing
  • Causality Analysis
  • Distributed Systems
  • Linux Kernel
[03]HPC

Parallel Systems, Modern C++ & Kokkos

A technical study report and experimental presentation evaluating shared-memory threads, MPI message-passing boundaries, CUDA kernels, and Kokkos performance-portability abstractions. Analyzes SLURM job orchestration, roofline performance modeling, and energy-aware HPC scheduling on supercomputing clusters.

  • Modern C++
  • Kokkos
  • MPI
  • OpenMP
  • CUDA
  • SLURM
  • Roofline Modeling
  • CMake / CTest
  • HPC Benchmarking
[04]Systems Programming

FT_IRC = Network Server in C++

An RFC 1459 / 2812 compliant Internet Relay Chat server engineered in C++98. Implements non-blocking TCP socket communication with multiplexed I/O handling via poll()/select(), custom command framing, multi-client channel routing, operator privilege delegation, and stateful authentication machines.

  • C++
  • TCP/IP Sockets
  • Non-blocking I/O
  • poll() / select()
  • RFC 1459 / 2812
  • State Machine
  • Network Protocols
  • Multiplexing
[05]Systems Programming
Interactive lab

Minishell = POSIX Shell in C

A POSIX.1-2008 command-line interpreter developed in C99. Features a deterministic finite-state automaton (FSM) lexer, recursive-descent AST parser with operator precedence, multi-stage pipeline orchestration via fork(), pipe(), and dup2(), environment variable expansion, heredoc buffers, and async-safe signal handling.

  • C99
  • POSIX.1-2008
  • Lexer FSM
  • AST Parser
  • fork() & pipe()
  • dup2() I/O
  • Signal Safety
  • Process Lifecycle
  • Memory Management
[06]Systems Programming

Philosophers = Concurrent Resource Sharing

A systems concurrency simulation solving Dijkstra’s Dining Philosophers problem in C. Manages POSIX thread lifecycles, atomic mutex locks, starvation avoidance algorithms, precise millisecond timestamp scheduling, and race-condition elimination without CPU spin-locking.

  • C
  • pthreads
  • Mutex Synchronization
  • Deadlock Avoidance
  • Race Condition Safety
  • Atomic Operations
  • Concurrency Control
  • Resource Scheduling
[07]Systems Programming
Interactive lab

Cub3D = Software Raycasting Engine

A real-time pseudo-3D graphics rendering engine inspired by Wolfenstein 3D, written in C99 without GPU or OpenGL acceleration. Implements the Digital Differential Analysis (DDA) grid traversal algorithm, Euclidean perpendicular depth correction to eliminate fish-eye distortion, sub-pixel texture UV mapping, MiniLibX double-buffering, and collision detection.

  • C99
  • Raycasting
  • DDA Algorithm
  • Software Rendering
  • MiniLibX
  • Texture UV Mapping
  • Perspective Correction
  • 2D/3D Math
[08]Systems Programming
Interactive lab

fract2L = Fractal Generator

A high-performance mathematical visualization engine in C99 computing polymorphic complex recurrence iterations for Mandelbrot, Julia sets, Burning Ship, Tricorn, and Celtic fractals. Features continuous escape-time renormalization to eliminate color banding, direct memory-mapped pixel buffers, interactive keyboard/mouse zoom navigation, and real-time constant mutation.

  • C99
  • Complex Dynamics
  • Smooth Potential
  • MiniLibX
  • Escape-Time Renormalization
  • Pixel Buffering
  • Fractal Geometry
  • Mathematical Visualization
[09]Systems Programming

Push_swap = Sorting Under Constraints

An optimized algorithmic constraint-satisfaction solver sorting integer sequences using two restricted FIFO stacks and an atomic instruction set (sa, pb, rr, rra). Employs chunking heuristics, median partitioning, and cost-matrix evaluation to achieve sub-O(n log n) instruction counts under strict operational budgets.

  • C
  • Stack Data Structures
  • Sorting Algorithms
  • Complexity Analysis
  • Cost Matrix Optimization
  • Constraint Satisfaction
  • Algorithm Design
[10]Distributed Systems
Interactive lab

Transcendence = Real-Time 3D Game

A full-stack distributed web platform featuring real-time multiplayer 3D Pong, authoritative server-side physics, and tournament orchestration. Decouples client-side Three.js WebGL rendering, low-latency duplex WebSocket synchronization, secure JWT authentication with 2FA, PostgreSQL user persistence, and containerized microservices managed via Docker Compose.

  • TypeScript
  • Three.js
  • WebGL
  • WebSockets
  • Docker Compose
  • Microservices
  • Authoritative Physics
  • PostgreSQL
  • JWT & 2FA
[11]Distributed Systems

Smart Agriculture Monitoring

A distributed IoT telemetry pipeline for real-time agricultural climate tracking. Features automated multi-sensor data ingestion, Apache Kafka event streaming for distributed message queues, time-series data buffering, and RESTful API endpoints for crop analytics, automated alerts, and soil condition telemetry.

  • Kafka
  • Event Streaming
  • Distributed Systems
  • REST APIs
  • IoT Telemetry
  • Microservices
  • Time-Series Data
  • Sensor Ingestion
[12]Systems Programming
Planned

LangDev = Systems & Scientific Programming Language

A planned forward-looking compiler initiative to engineer a compiled, statically typed domain language for numerical computing and hardware-near systems programming. Designed to explore LLVM IR code generation, zero-cost memory safety without a garbage collector, first-class multidimensional tensor primitives, and native parallel concurrency primitives for modern heterogeneous architectures.

  • Language Design
  • Compiler Architecture
  • LLVM IR
  • AST & Type Checker
  • Zero-Cost Abstractions
  • Memory Safety
  • Future Initiative
  • Heterogeneous HPC

Areas of engineering experience

Technical areas I have worked with. Individual project write-ups will be added as they are documented.

Systems programming

C / C++ · POSIX · Network programming

Parallel & distributed systems

MPI · Kokkos · OpenMP · Docker

Scientific software

Numerical software · Solver modernization · HDF5