What the interns have wrought, 2025 edition
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. A redesigned ocamltorch API uses OxCaml's local mode and refcount scopes to free GPU tensors deterministically instead of forcing Gc.full_major calls. A third project is a shared-memory library that passes pointers between trading processes instead of serializing data, using atomic refcounts and OxCaml visibility modes (read_write, read, local) to enforce race-free, borrow-checker-like access.
Related posts
- What the interns have wrought, special jumbo 2026 edition
Jane Street Tech Blog easyNoviceJane Street's 2026 interns shipped projects across ML research, software engineering, Linux engineering, IT, trading desk operations and strategy. Highlights include an activation checkpointing scheme that beats PyTorch's by greedily recomputing the nodes with the cheapest recompute cost per byte freed in the torch.compile dynamo graph, and a dense topic index for tip recovery in the Aria messaging framework that cut CPU use by 30%. Other projects include an OCaml-native FUSE server for the Depot object store reaching 1.3 GiB/s, and a kernel log reporter that falls back to pstore when disk and network fail. Research work covered diffusion models of market data and reducing memorization in LLMs, and an OxCaml SPMD DSL targets CPU SIMD instructions.
- What the interns have wrought, 2022 edition
Jane Street Tech Blog mediumAdeptThree Jane Street intern projects from 2022 show substantial tooling work in OCaml. magic-trace gained a sampling mode that can cover 20 seconds to 20 minutes on Intel or AMD hardware, plus multi-process tracing, CPU-frequency transition reporting and a perf dlfilter backend that speeds trace decoding by 10–50%. Datafetcher jobs can now be compiled into Incremental computations, using a Response_or_waiting type to represent async state and mandatory memoization of fetch nodes. Quickcheck gained a [@@contract] syntax for deriving property tests from interface signatures, along with early support for bisimulation testing of two implementations of the same API.
- What the interns have wrought, 2023 edition
Jane Street Tech Blog mediumAdeptThree Jane Street intern projects, all in OCaml. The first is an SQL-like temporal query language, parsed with Angstrom and compiled onto a Linear Temporal Logic engine, for finding event sequences in Concord's transaction stream. The second is a pure-OCaml tiktoken-compatible tokenizer with a handcrafted regex automaton and an imperative rewrite; it matched or beat the Rust reference implementations, though GC pauses gave it higher variance. The third adds async support to ppx_tracing by storing correlation IDs in the Async scheduler's execution context, which helped the Iron code review team cut server startup time by about 50%.
- What the interns have wrought, 2024 edition
Jane Street Tech Blog mediumAdeptThree 2024 Jane Street intern projects get a technical walkthrough. Camels is a pure-OCaml, Polars-like dataframe library that separates expression construction from execution so queries can be compiled, and it uses a phantom-typed length parameter to catch missing broadcasts at compile time. A speed-over-size variant of Binprot drops variable-length integer encoding so adjacent non-pointer record fields can be memcpy'd, built on typerep with custom C bindings; it ran 10-20% to 15x faster than Binprot and cut production tail latencies by 30-65%. A time-travel debugger for the Aria-based Limshare risk-limit system adds periodic snapshots so engineers can step backward through the update log when investigating incidents.
- Writing a DSL for high performance parallel programming in OxCaml
Jane Street Tech Blog hardMasterA 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. Kernels describe the computation for a single output index, and the compiler generates the loop, which keeps each iteration writing exactly one output and makes vectorization safe. The front end builds a GADT-typed DAG that tracks uniform vs. varying rates and provides three control-flow forms (select, if_, if_var) with different evaluation semantics. The backend uses OxCaml's runtime metaprogramming (quotes and splices) to emit OxCaml code, partially evaluating runtime-known values such as the chosen distance metric away and relying on the OxCaml compiler for further optimization.