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
DRW — New York, NY
July 2027
Akuna Capital — Chicago, IL
August 2026 (1 week)
IMC Trading — Chicago, IL
June 2026 – August 2026
Stony Brook University — Neural Flocking Lab — Stony Brook, NY
June 2025 – August 2025
Jane Street Capital — New York, NY
July 2023 – August 2023
Projects
Rust · Tauri · xterm.js · KaTeX
- A macOS terminal that typesets any LaTeX on screen —
catoutput, 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.
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.
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.
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.
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.
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.
Education
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
ACM International Collegiate Programming Contest — Stony Brook University
November 2025
- Selected to represent Stony Brook University at the ACM ICPC.
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.
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
Frameworks
Developer Tools
Libraries
Blog
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.
Coming Soon...
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.