Saman Dehghan

// Systems software engineer working at the boundary of low-level performance and formal safety. C++ by trade, Rust by conviction.

Graduate researcher and systems engineer, writing the code underneath the code.

I am an M.Sc. Computer Science student at the University of Illinois Urbana-Champaign, with nearly a decade of industry experience building high-performance systems in C++ and C — trading platforms, network data planes, deep-packet inspection engines, and multithreaded storage engines.

My current research sits at the intersection of programming languages and large language models: building automated pipelines that translate unsafe C repositories into idiomatic, memory-safe Rust, and studying how agentic LLMs plan and execute engineering tasks.

Selected research.

2025arXiv:2511.20617

Translating Large-Scale C Repositories to Idiomatic Rust

Saman Dehghan, Tianran Sun, Tianxiang Wu, Zihan Li, Reyhaneh Jabbarvand

2026arXiv:2604.12147

From Plan to Action: How Well Do Agents Follow the Plan?

Shuyang Liu, Saman Dehghan, Jatin Ganhotra, Martin Hirzel, Reyhaneh Jabbarvand

Tools of the trade.

Languages
C++ 11 / 14 / 17 / 20, C, Rust, Python
Build & Tooling
CMake, Ninja, Meson, Bazel, Docker, Git, Jenkins, GDB, Intel Parallel Studio
Core Concepts
Multithreading, lock-free concurrency, IPC, SIMD, DNN
Networking & Data
DPDK, Netmap, XDP, sockets, Redis, PostgreSQL

Where I've shipped.

Research Contributor, Intelligent-CAT Lab

University of Illinois Urbana-Champaign
  • Designing an automated pipeline to transpile unsafe C projects into idiomatic, memory-safe Rust using LLMs.
  • Building static analyses to identify unsafe patterns in C codebases and guide safe-construct synthesis.

Senior Software Engineer, Deriv

Online trading platform
  • Designed and delivered a real-time trading bot platform executing client strategies across cryptocurrencies, commodities, and other asset classes.
  • Built high-performance FIX and FAST servers for low-latency market communication.
  • Engineered an option-pricing algorithm to value contracts and inform automated trading decisions.
  • Developed an MT5 bridge to integrate the in-house platform with MetaTrader 5.

Software Architect, Mahsan

Network security
  • Led architecture of a distributed, real-time Data Loss Prevention (DLP) engine operating at line rate.
  • Designed a distributed service-discovery tool built on Avahi and Poco for networked service registration.
  • Designed configurable SDN tooling for dynamic traffic routing and load balancing in changing environments.
  • Mentored junior engineers, led code reviews, and drove architectural standards across the team.

Senior Software Engineer, Mahsan

Systems and infrastructure
  • Refactored Redis into a multithreaded variant and implemented reliable multicast messaging for cluster-wide data distribution.
  • Built a low-latency IPC framework combining shared memory and message passing for inter-node communication.
  • Authored a C++ library for parallel and concurrent data-processing pipelines, abstracting parallelism and data-flow management.

C++ Developer, Z.I.E

Network traffic analysis
  • Developed a high-performance, low-latency deep packet inspection library for protocol detection across the network stack.
  • Built a machine-learning system for application-layer protocol identification.
  • Implemented a pattern-matching library based on Aho–Corasick and RETE algorithms.

Personal work and contributions to public code.

Event loop library in pure C

  • Lightweight event loop built on io_uring, designed for minimal overhead and predictable latency.

Homomorphic encryption in C

  • C implementation of the ACES fully-homomorphic-encryption scheme.

IBM quantum simulator

  • Diagnosed and fixed a performance regression in the Aer simulator.

SIMD algorithms library

  • Implemented partial sort and nth-element algorithms for improved data-processing throughput.
  • Added heapSelect and heap-based partial sort for specialized selection workloads.

Inference runtime

  • Added hardware-accelerated RMSNorm and Squared-L2 kernels via hwy/simd.
  • Introduced clang-tidy into the build for static-analysis-driven code quality.
  • Resolved narrowing-conversion issues and tightened const-correctness across the codebase.

Serialization library

  • Fixed Java import-wildcard issues and resolved go generate errors tied to undefined packages.
  • Addressed schema-to-binary conversion bugs and Dart import problems.

Kernel-bypass packet I/O

  • Added support for Intel ICE network interface cards to the framework.

Where I've studied.

University of Illinois Urbana-Champaign
M.Sc. Computer Science
Sharif University of Technology
B.Sc. Computer Engineering
GPA 3.X / 4.0