Hi, I'm David Lai

I’m a senior at Stony Brook University double majoring in Computer Science and Applied Mathematics. I’m interested in low-latency systems, algorithms, and quantitative finance.

Experience

Software Engineer Incoming ’27

DRW — New York, NY

July 2027

Software Engineering Intern

Akuna Capital — Chicago, IL

August 2026 (1 week)

Software Engineering Intern

IMC Trading — Chicago, IL

June 2026 – August 2026

Undergraduate Researcher

Stony Brook University — Neural Flocking Lab — Stony Brook, NY

June 2025 – August 2025

AMP Intern

Jane Street Capital — New York, NY

July 2023 – August 2023

Projects

mathterm

Rust · Tauri · xterm.js · KaTeX

  • A macOS terminal that typesets any LaTeX on screen — cat output, Claude Code replies, files open in nvim — with no plugins or cooperation from the program.
  • Overlays KaTeX-rendered math on the source cells after each redraw, with live-preview editing on the cursor line and copy still yielding the raw LaTeX.
GitHub November 2026
sidenote

TypeScript · MCP · Node.js

  • MCP server that lets coding agents answer “how does this work?” as a numbered reading path over real source files, with notes in the margin beside the code.
  • Verifies every anchor against disk and rejects mismatched steps so the agent retries — no retrieval, no LLM calls, nothing written to the repo.
GitHub September 2026
microscope.nvim

Lua · Neovim · ripgrep

  • Neovim picker with two query fields — narrow the files, then grep inside them — unifying file finding and live grep in one UI.
  • Zero Lua dependencies; built directly on Neovim 0.10+ APIs and ripgrep.
GitHub August 2026
Trading Engine

C++ · Concurrency · Sockets

  • Real-time limit order book matching engine with price-time priority, limit/market orders, and order management.
  • Concurrent client connections via async TCP sockets and thread-safe queuing.
GitHub May 2025 – Present
ToyRedis

C++ · Networking · Data Structures

  • Building a Redis clone from scratch in C++, implementing core commands (GET, SET, DEL, EXISTS, EXPIRE) with an event-driven server.
  • Supports persistent TCP connections, serialization via the RESP protocol, and an in-memory key-value store.
GitHub In Progress
Wordle AI

Python · SciPy · Git

  • Rule-based AI using Shannon entropy and SciPy, achieving an average of 3.5 guesses per game vs. the human average of 4.5.
GitHub July – August 2023

Education

Stony Brook University

B.S. Computer Science & B.S. Applied Mathematics — Expected May 2027

GPA: 4.0 / 4.0

Relevant Coursework
  • Data Structures and Algorithms
  • Web Development
  • Operating Systems
  • Networks
  • Cloud Computing
  • Compiler Design
Activities
  • Quant Club — Vice President
  • Competitive Programming Club
  • Computing Society at Stony Brook
  • Math Club

Extracurriculars

ICPC Competitive Programmer

ACM International Collegiate Programming Contest — Stony Brook University

November 2025

  • Selected to represent Stony Brook University at the ACM ICPC.
Google G-SWEP Fellow

Google

July 2025

  • Selected as one of 105 fellows for a rigorous 10-week program centered around system design and problem solving.
  • Received 1:1 technical mentorship from a Google SWE, learning industry best practices and standards.
Teaching Assistant — Systems Fundamentals

Stony Brook University — CSE320: Systems Fundamentals II

January 2025

  • Held weekly office hours and graded assignments for 150+ students.
  • Wrote test cases for the course’s autograder in C.

Skills

Languages
C C++ Java Python OCaml JavaScript HTML / CSS SQL MATLAB x86-64 Assembly
Frameworks
React Node.js Next.js Flask
Developer Tools
Git Linux AWS Kubernetes Docker PostgreSQL MongoDB
Libraries
pandas NumPy Matplotlib SciPy PyTorch

Blog

Challenge Problem The Tennis Academy Problem

In an academy of 101 players, every group of 50 has an outsider who beat them all. Prove someone beat everyone. A graph theory proof using clique-building.

Jane Street Puzzle Can U Dig It? (April 2026)

Coming Soon...

Coming Soon Solving Wordle Optimally with Shannon Entropy

How information theory beats human intuition at word games by more than a full guess on average.

Contact

Feel free to reach out — I’m always open to interesting conversations.

lairdavid11@gmail.com