What the interns have wrought, 2024 edition
Three 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.
Related posts
- 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, 2025 edition
Jane Street Tech Blog hardMasterJane 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.
- 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, 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, 2021 edition
Jane Street Tech Blog mediumAdeptJane Street's 2021 dev internship (87 interns across New York, London and Hong Kong) is showcased through three projects. One extended the OCaml syntax extension ppx_typed_fields, which uses GADTs to make record fields first-class values. It now supports parameterized and nested records, and a new typed-variants extension does the same for variant types. A second built filterable cross-day time-series exports of historical atop process data for the CLI and web UI. A third added memoization of intermediate computations to Datafetcher, a Haxl-like OCaml DSL for data-fetching jobs that run in production, test or record mode.