---
title: "What the interns have wrought, 2025 edition"
description: "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."
url: "https://swe.quest/articles/what-the-interns-have-wrought-2025-edition-eda7f47e78fb3ca5"
canonical: "https://blog.janestreet.com/wrought-2025/"
source: "Jane Street Tech Blog"
published: "2025-08-27"
difficulty: "hard"
kind: "Case study"
reading_minutes: 12
tags: ["functional-programming","memory-management","query-engines","type-systems","performance"]
---

# What the interns have wrought, 2025 edition

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2025-08-27, 12 min read, Case study. Original: [https://blog.janestreet.com/wrought-2025/](https://blog.janestreet.com/wrought-2025/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Functional programming](https://swe.quest/tags/functional-programming.md) (Languages)
- [Memory management](https://swe.quest/tags/memory-management.md) (Compilers & runtimes)
- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Type systems](https://swe.quest/tags/type-systems.md) (Compilers & runtimes)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- OCaml basics ([easy posts on Functional programming](https://swe.quest/tags/functional-programming.md?difficulty=easy))
- reference counting vs tracing GC ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- SQL query evaluation ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- shared memory IPC

## Keywords

OxCaml, OCaml, JSQL, ocamltorch, PyTorch, Jane Street

## Related posts

- [What the interns have wrought, special jumbo 2026 edition](https://swe.quest/articles/what-the-interns-have-wrought-special-jumbo-2026-edition-ccd1ba7feb2b1087.md): Jane Street Tech Blog · 2026-09-30 · Easy · 8 min read · Engineering culture, Machine learning, Linux, Performance engineering
  Jane Street's 2026 interns shipped projects across ML research, software engineering, Linux engineering, IT, trading desk operations and strategy.
- [What the interns have wrought, 2022 edition](https://swe.quest/articles/what-the-interns-have-wrought-2022-edition-0f4dcf7e53f3e8d4.md): Jane Street Tech Blog · 2022-08-25 · Medium · 8 min read · Functional programming, Testing, Performance engineering, Developer tools, Engineering culture
  Three 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%.
- [What the interns have wrought, 2023 edition](https://swe.quest/articles/what-the-interns-have-wrought-2023-edition-f070c30cff9e3c3e.md): Jane Street Tech Blog · 2023-09-12 · Medium · 9 min read · Functional programming, Observability, Developer tools, LLMs, Concurrency
  Three 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.
- [What the interns have wrought, 2024 edition](https://swe.quest/articles/what-the-interns-have-wrought-2024-edition-b9d6cc4b73c67320.md): Jane Street Tech Blog · 2024-08-26 · Medium · 12 min read · Functional programming, Performance engineering, Debugging, Event-driven architecture, Analytics & OLAP
  Three 2024 Jane Street intern projects get a technical walkthrough.
- [Writing a DSL for high performance parallel programming in OxCaml](https://swe.quest/articles/writing-a-dsl-for-high-performance-parallel-programming-in-oxcaml-5f7bd51c2038a2c3.md): Jane Street Tech Blog · 2026-11-06 · Hard · 17 min read · Compilers, Functional programming, Language design, Performance engineering, Hardware
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
