Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

38 posts RSS

2026

Writing a DSL for high performance parallel programming in OxCaml

Deep dive 17 min +170 XP

A Jane Street intern built a JIT compiler for an SPMD-style DSL in OxCaml so SIMD kernels for options pricing and risk checks can be written once as ordinary-looking OxCaml functions instead of architecture-specific C intrinsics.

Flex Model: an event-driven feature engineering system

Case study 13 min +130 XP

Flex Model is Jane Street's OCaml framework that turns market events into feature vectors for neural-network trading models, replacing a 17k-line monolith where adding one feature touched nineteen files.

Mitigating memorization in LLMs

Research 6 min +60 XP

LLMs evaluated on historical prediction benchmarks can score well by recalling memorized outcomes from pretraining rather than reasoning, so an intern project measured and tried to mitigate this using a cricket match-preview dataset, comparing accuracy before and after the model's knowledge cutoff.

strace-ui, Bonsai_term, and the TUI renaissance

Case study 9 min +90 XP

Jane Street's strace-ui turns strace into an interactive terminal UI with on-the-fly syscall hiding, per-file-descriptor navigation and filtering, short PID labels, hexdumped buffers, man-page lookup and hostname resolution for sockets.

2025

Getting from tested to battle-tested

Case study 13 min +130 XP

Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run.

What the interns have wrought, 2025 edition

Case study 12 min +120 XP

Jane Street's 2025 intern projects include an index-aware evaluator for JSQL, the company's internal SQL dialect, which over-approximates key ranges from WHERE clauses and specializes execution to Map, Hashtbl or multi-index containers, giving ~700x and ~30x speedups on 3.8M-row benchmarks.

2024

ICFP 2024

Announcement 8 min +80 XP

Jane Street's OCaml Language team brings nine papers and talks to ICFP 2024 and describes its compiler-branch extensions: modal types (modes like local and unique) for Rust-like control over allocation and data-race-free parallelism, and a kind system for unboxed layouts.

The quest for software engineering knowledge.

Look:
Layout: