I like understanding software all the way down: how an operating system schedules processes, how memory gets paged, and how a graph algorithm can be made to scale across CPU cores, GPUs and a whole cluster.
I also build across the stack: an Android social app, a full-stack business web app, and systems code in C and C++.
⭐ Featured: Parallel Strongly Connected Components
This project extends the SIGMOD 2023 paper Parallel Strong Connectivity Based on Faster Reachability in four ways:
- Adaptive granularity control. It replaces the paper's fixed τ = 512 with a τ chosen at run time from the frontier size, the graph's edge-to-vertex ratio and the thread count. The paper names this as future work.
- Three new backends beyond the original ParlayLib scheduler: OpenMP for shared memory, MPI for multiple machines and OpenCL for GPUs.
C++ OpenMP MPI OpenCL ParlayLib graph algorithms parallel computing
| Project | What it is | Built with |
|---|---|---|
| psc | Parallel SCC with adaptive granularity control and multi-backend implementations | C++, OpenMP, MPI, OpenCL |
| race-rc-system | Reading comprehension and quiz generation on the RACE dataset with classical ML: answer verification (LR, SVM, ensemble), distractor and hint ranking, K-Means, evaluated against baselines in a Streamlit dashboard | Python, scikit-learn, Streamlit |
| chrono-rift | Turn-based tactical RPG built from Linux OS primitives: three processes share one game state through POSIX shared memory, with semaphores, pthreads and signals driving the gameplay | C++17, SFML, POSIX IPC |
| Xinox | Territory-capture arcade game for one or two players: leave your land, draw a trail across the field and close it off before an enemy touches it. An AVL tree holds the themes, a flood fill does the capturing, and accounts, saves and high scores live in files | C++17, SFML, data structures |
| course-management-system-cpp | Console learning platform with admin, instructor and student roles: courses, assignments, quizzes, certificates and study groups. A team OOP project built on an abstract base class, public and private inheritance, composition and operator overloading | C++17, OOP, file I/O |
| trading-terminal-javafx | Desktop brokerage terminal with seven screens on sample stock-exchange data: partial-password login, market monitor with market depth, portfolio, order history and cash withdrawals. A Software Design and Architecture project | Java, JavaFX, Maven |
| study-os | Desktop study planner: subjects and instructors, tasks, syllabus progress, exam countdowns, a calendar, one-click study workspaces and simulated Google Classroom sync, on a strict three-layer architecture with GRASP and GoF patterns. A team Software Design project | Java, JavaFX, H2/Oracle, HikariCP |
| taqseem | Offline-first Android app for aid distribution drives: volunteers register families and record photo-proof handouts with no signal, with collision-free token blocks, duplicate CNIC detection and a PHP/MySQL backend with push notifications | Kotlin, Android, SQLite, PHP, MySQL, FCM |
| kinnect | Android social media app with a feed, posts and comments, stories, chats, voice calls, friends, a marketplace and notifications, plus Espresso UI tests | Kotlin, Android SDK, Material Components |
| ResellerZ | Business app for resellers: products, inventory, purchases, sales, suppliers, customers, invoices and a dashboard, behind JWT login | Node.js, Express, SQL Server, HTML/CSS/JS |
Small, complete games that run in any terminal with no libraries. Each one keeps its game rules separate from the display and comes with unit tests.
| Game | What it is | The interesting part |
|---|---|---|
| Glowworm | Real-time arcade game: catch fireflies before their glow fades | Cross-platform raw keyboard input, plus an autopilot that plans routes with BFS and checks for dead ends with a flood fill |
| Ember Depths | Turn-based dungeon crawler across five random levels | Procedural room-and-corridor generation, Bresenham line-of-sight with fog of war, and monsters that hunt you |
| Vault Cracker | Code-breaking logic game, played against an AI either way round | Minimax solver with probe guesses and memoization that cracks any 4-digit code in 7 guesses or fewer |
| Twenty-One | Blackjack with ASCII-art cards and a six-deck shoe | Basic-strategy coach, checked by a 200,000-hand simulation of the house edge |
Hands-on reference repos where every concept is a small, commented, runnable program:
| Repo | Covers |
|---|---|
| programming-fundamentals-cpp | Variables to pointers, recursion, file handling and sorting algorithms, ending with a Tic-Tac-Toe game |
| object-oriented-programming-cpp | The four pillars, the Rule of Five, templates, smart pointers and design patterns, plus a multi-file Library Management System |
| operating-systems-c | fork/exec, pipes, shared memory, threads, synchronization, CPU and disk scheduling, Banker's algorithm and page replacement, ending with a working Unix shell |
Currently exploring parallel and distributed algorithms, and how far a single idea can scale.