Skip to main content
Tom MugaTM
Open to opportunities

Tom Muga

@tommuga

C++ systems engineer focused on WebAssembly, compiler infrastructure, and runtime internals.

Kenya
Message

What I'm looking for

I’m looking for remote roles where I can build performance-critical C++ systems with memory efficiency and correctness, backed by rigorous benchmarking and profiling. I enjoy tight constraints, parallel simulation, and clean C++/Python interop.

C++ systems engineer focused on WebAssembly, compiler infrastructure, and runtime internals. Interested in howmanagedruntimes, native engines, and browser execution environments interact across ABI, memory ownership, and threading boundaries.Recent work includes a from-scratch, single-binary Godot 4 + .NET WASM export architecture built across four major iterations,and an experimental Binaryen fork investigating memory/CPU tradeoffs in compiler IR.

Experience

Work history, roles, and key accomplishments

N/A logoNA
Current

Software Engineer - Wasm, .NET, C++

N/A

Apr 2026 - Present (7 months)

I deveoped 3 iterations, each informed by the limitations of the last architecture. This was about building a WebAssembly Runtime to allow C# to run in .NET.

Tommygrammar logoTO

Multi-Agent Belief Framework

Built a fixed-capacity belief distribution framework with a compile-time memory pool to eliminate dynamic allocation and reduce fragmentation. Implemented a certainty-aware two-objective Dijkstra (biasing toward higher certainty) and reduced Section size from 32 to 24 bytes by member reordering and replacing std::string with char.

C++17
memory pool allocation
ownership design (unique_ptr raw pointers)
multi agent coordination
graph algorithms
certainty aware Dijkstra
graph pathfinding
cache efficient data layout
GitHub logoGI

Entropy-Guided Stochastic Optimizer Engineer

Optimized an entropy-guided stochastic optimizer to reach 22.38× throughput improvement through profiling-guided hot-path changes. Reduced cache miss rate from 53.64% to 12.15% (−89% absolute misses), with instruction and branch misprediction reductions, while improving numerical stability with regularized Cholesky.

Throughput
Cache Miss Reduction
Approximate Sampling
Cholesky Decomposition
Covariance Regularisation
Hot Path Heap Elimination
OS

C++ Performance Engineer

Open Source

Delivered 100× throughput improvements by replacing Python computation cores with purpose-built C++ implementations, validating gains with benchmarks and hardware counter analysis. Built performance-critical simulation and optimization systems (C++/Python interoperability, parallel execution, and numerically stable algorithms) and shipped verified PRs with reproducible results.

Stochastic Optimization
Welford
MCTS IS MCTS
Benchmarking and Testing
Google Benchmark
Catch2
Tommygrammar logoTO

Entropy-Guided Stochastic Optimizer

Implemented a multi-stage optimization pipeline (Gaussian sampling, evaluation, hierarchical clustering, adaptive refocusing) with numerically stable Cholesky decomposition using jitter. Improved throughput by 22.38× and reduced cache miss rate from 53.64% to 12.15% (−89% absolute misses) via targeted hot-path changes.

Hierarchical clustering
Cholesky Decomposition
C++17
numerical optimization
Gaussian sampling
jitter for stability
cache locality
std::array static sizing
perf profiling
GitHub logoGI

Monte Carlo Parallel Simulation Engineer

Improved a Monte Carlo simulation engine by 2.38× over a Python baseline and an additional 1.71× by removing intermediate storage and restructuring parallelization. Fixed a structural OpenMP bug that made the MC loop sequential and used a fused single-pass Welford algorithm for mean/standard deviation.

OpenMP
Welford Online Algorithm
Performance OptimizationBenchmarking
Reduction Based Accumulation
RN

C++ Pathfinding Library Engineer

Recast Navigation

Identified and refactored a redundant two-pass hot-path loop (rcCalcBounds) into a single-pass fused min/max operation. Improved throughput by ~10% (106 ns → 95 ns) and reduced instruction and cycle counts per hardware counters.

C
Pathfinding
Hot Path Optimization
RefactoringBenchmarkingThroughputPerformance Profiling
Cache Aware Computation
GitHub logoGI

Causal Simulation Engine Engineer

Rebuilt a Python stochastic causal simulation core in C++ to achieve 100× throughput improvement versus the original. Implemented a contiguous, allocation-minimal C++ engine with a Python orchestration layer for configuration and aggregation.

Python Interop
Heap Allocation Elimination
Benchmarking
Ownership Transfer Across Layers
Deepmind logoDE

IS-MCTS Variance-Aware C++ Engineer

Modified IS-MCTS selection to incorporate action-level variance into the UCB decision rule for risk-adjusted search. Empirically showed variance penalisation amplifies first-mover advantage with statistically significant divergence from the canonical implementation.

C
Risk Adjusted Decision Making

Education

Degrees, certifications, and relevant coursework

UC

Ubunifu College

Software Engineering Diploma, Software Engineering

Completed a Software Engineering Diploma in 2022.

Tech stack

Software and tools used professionally

Availability

Open to opportunities

Location

Kenya

Authorized to work in

Salary expectations

40k-60k USD

Job categories

Software EngineerDeveloperSoftware EngineerSystems Engineer
C++ Engineer
High Performance Computing Engineer
Simulation Engineer
Numerical Optimization Specialist
WebAssembly Developer
C++ Developer
Mid Level C++ Engineer

Skills

STL
Move Semantics
Memory ManagementPython
C++ Python Interface Design
Simulation Engines
Stochastic Optimisation
Inter Agent Coordination
Numerical Methods
High Performance C++ Python Systems
Heap Allocation Elimination
Hot Path Isolation
Benchmark DesignOpenMP
Reduction Based Accumulation
Thread Local State Design
Cholesky Decomposition
Covariance Regularisation
Welford Online Algorithm
NaN Inf Propagation Control
CMakeGitLinux
AddressSanitizer
Intel VTune Profiler
Valgrind
Flamegraph Analysis
Google Benchmark
Catch2
CausalEffectGitHubMatrixMethodMonte Carlo
UBSAN
Contiguous Memory Layout
WebAssembly
Emscripten
C
.NET WASM Runtime
ABI Level Struct Layout
Cross Runtime Execution Models
UCB Decision Rule
Intel VTune
.NETGodotJavaScriptMonte Carlo SimulationsBridges

Interested in hiring Tom?

You can contact Tom and 600K+ other talented remote workers on Himalayas.

Message Tom

People also viewed

View all talent

Get matched with your dream remote job

Sign up now and join over 1,000,000+ remote workers who receive personalized job alerts, curated job matches, and more for free!

Sign up
Himalayas profile for an example user named Frankie Sullivan