Type anything. Each key is timed from press to the next frame.

Ahmed Berrada, software engineer

Right first.Then fast.

At Siemens Mobility I build the simulation and test automation behind a safety-critical 5G train radio for the New York City subway. On my own time I write matching engines and GPU code, and measure them in nanoseconds. Either way the discipline is the same: deterministic, measured, tested until it is boring.

Looking for a permanent full-time role from September 2027, in Paris.

Since September 2025, apprenticeship until August 2027

Siemens Mobility

Software engineer. Châtillon, France.

New York City Transit is moving its Crosstown line to CBTC signalling over 5G radio. I work on the safety-critical radio software, and I build the simulator it is tested against.

300+ test scenarios

200+ message types

9 validators use it

4.2 CRG release delivered

radio linkdashed = simulated
WRGWRGCCZCCRGunder test
C351

src port

C352

dst port

0015

length

0000

udp sum

21

type

0410

seq

002F9A110463

payload

919443D7

crc-32/mpeg-2

CC to CRG, position report, seq 1040, 6 B payload, crc 0x919443D7 verified

Type anything to write the payload yourself. Illustrative frame layout, not the real protocol.

Radio messages, exact to the byte

I designed and built the CRG Message Generator in Python. It simulates the onboard and wayside equipment (CC, ZC, WRG) and generates byte-exact radio messages, UDP framing and CRC-32/MPEG-2 included, from YAML/XML configuration: more than 200 message types and 300 scenarios, with conformance checked by a pytest suite. Delivered for CRG 4.2. Without it, the software cannot be tested.

Scenarios people write on their own

A Robot Framework library with business-level keywords. Nine validators use it, five developers and four trained non-developers, to write and run the scenarios they need without waiting on anyone.

A test bench, from nothing

Built with the team, starting with no bench, no tool and no product: GitLab CI/CD and runners, the CRG virtualised with QEMU/KVM inside Linux network namespaces, and automatic archiving of every report and log. I own the test bench.

Where it runs

Safety-critical software under CENELEC EN 50128. Scrum, in English, with the radio, embedded software and test teams in France and India.

Python, pytest, Robot Framework, GitLab CI/CD, QEMU/KVM, Linux network namespaces, CENELEC EN 50128.

Engines

Side projects where the same rules meet a stopwatch. Markets make a good test: a matching engine has to be correct before it is fast, and fast enough that nanoseconds show.

A matching engine

Deterministic price-time priority, in Java 21 and C++17.

Order_Book on GitHub

PAUSED/matching engine, in this tab

pricesize
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
spread –mid –
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

orders

–

trades

–

resting

–

seed 2027, replayable

The same data structure, ported to TypeScript and running in this page. The benchmark button times one million orders on your machine.

One writer per instrument

A single thread owns each book, LMAX-style. The hot path takes no locks and the order of events is deterministic.

Journal first, then match

Every accepted order goes to a write-ahead journal before it is matched. After a crash, replaying the journal rebuilds the exact same book.

Orders in the way a venue takes them

FIX 4.4 order entry through QuickFIX/J, plus a REST API.

Correctness checked by machines

Property-based tests (jqwik), mutation testing (PIT), ArchUnit rules and JaCoCo coverage, all enforced in CI.

The path an order takes

  1. FIX 4.4 and REST

    order entry

  2. Sequencer

    write-ahead journal, replay on restart

  3. Matching

    single writer per instrument

  4. Executions and market data

    reports and L2 depth

163 ns

Median latency of the C++17 version, at 3.46 million operations a second. A pool allocator and intrusive lists keep every order in memory allocated up front, so cancel is O(1) and the hot path never allocates.

How long 163 ns is

  • L1 cache reference
    ~1 ns
  • Mutex lock / unlock
    ~25 ns
  • Main memory reference
    ~100 ns
  • Match one order (C++17 engine, median)
    163 ns
  • Round trip within a datacenter
    ~500 µs
  • Round trip Paris ↔ New York
    ~70 ms
Log scale. Reference rows are order-of-magnitude figures. In 163 ns, light travels about 49 metres.

A GPU option pricer

Monte Carlo in Python, NumPy, Numba CUDA and CuPy.

Monte-Carlo-Option-Pricing

european call, S₀ 100, K 100, σ 20%, r 5%, 1 year

paths

0

monte carlo

–

black-scholes

10.451

abs. error

–

Running here as you watch: antithetic variates and Box-Muller normals, converging on the closed-form Black-Scholes price.

European options under geometric Brownian motion. Every simulated path is independent of every other, so the work maps onto a GPU. On CuPy the same simulation runs 16 times faster than vectorised NumPy: 0.46 s instead of 7.4 s, against 295 s in pure Python.

  • Pure Python loops295 s
  • NumPy vectorised CPU7.4 s
  • CuPy CUDA GPU0.46 s, 16× faster than NumPy
Same simulation, wall-clock time, linear scale.

Background

  1. 2022

    ESIEA

    Engineering school, computer science

  2. 2023

    Axeli

    Network intern

  3. 2024

    Maroc Telecom

    Cloud and network intern

  4. 2024

    ESIEA

    Student ambassador

  5. Sep 2025

    Siemens Mobility

    Apprentice software engineer

  6. Sep 2026

    GDG on Campus ESIEA

    Co-founder

  7. 2026

    Junction

    Hackathon, Espoo

  8. Oct 2026

    AWS

    Certified AI Practitioner

  9. Sep 2027

    Next stop

    A permanent role, Paris

Education

ESIEA, Graduate School of Engineering

Engineering degree (Master's level), Computer Science, Artificial Intelligence track, 2022 – 2027.

Mathematics (probability, statistics, optimisation), algorithms, software development, architecture.

Tools

Languages
C++, Java, Python, SQL, Bash
Critical systems
Simulation and stimulation tools, pytest, Robot Framework, Byte-level protocols (UDP, CRC), CENELEC EN 50128 context
Correctness
Property-based tests (jqwik), Mutation testing (PIT), ArchUnit, JUnit 5, JaCoCo, Deterministic replay
Performance
No allocation on the hot path, Pool allocators, intrusive lists, Single-writer threading (LMAX), CUDA (Numba, CuPy)
Infrastructure
Linux, Git, GitLab CI/CD, GitHub Actions, Docker, QEMU/KVM, Spring Boot, AWS
Markets and data
Order books and matching, FIX 4.4 (QuickFIX/J), Option pricing, Monte Carlo, NumPy, Pandas, scikit-learn, PyTorch

AWS Certified AI Practitioner, October 2026.

French (C2), English (C1, my daily working language), Arabic (native).

Building something that cannot fail, or cannot wait?

I am looking for a permanent software engineering role from September 2027, in Paris. Critical systems, infrastructure, low-latency or trading platforms.

LinkedInGitHubCV (English)CV (français)

Or write here.