---
title: "What the interns have wrought, 2023 edition"
description: "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."
url: "https://swe.quest/articles/what-the-interns-have-wrought-2023-edition-f070c30cff9e3c3e"
canonical: "https://blog.janestreet.com/what-the-interns-have-wrought-2023/"
source: "Jane Street Tech Blog"
published: "2023-09-12"
difficulty: "medium"
kind: "Culture"
reading_minutes: 9
tags: ["functional-programming","observability","developer-tools","llms","concurrency"]
---

# What the interns have wrought, 2023 edition

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2023-09-12, 9 min read, Culture. Original: [https://blog.janestreet.com/what-the-interns-have-wrought-2023/](https://blog.janestreet.com/what-the-interns-have-wrought-2023/)

## Summary

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. 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%.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Functional programming](https://swe.quest/tags/functional-programming.md) (Languages)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Concurrency](https://swe.quest/tags/concurrency.md) (Compilers & runtimes)

## Prerequisites

- OCaml basics ([easy posts on Functional programming](https://swe.quest/tags/functional-programming.md?difficulty=easy))
- async/promises ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))

## Keywords

OCaml, Linear Temporal Logic, Angstrom, tiktoken, ppx\_tracing, Async, Perfetto, Concord

## Related posts

- [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, 2025 edition](https://swe.quest/articles/what-the-interns-have-wrought-2025-edition-eda7f47e78fb3ca5.md): Jane Street Tech Blog · 2025-08-27 · Hard · 12 min read · Functional programming, Memory management, Query engines, Type systems, Performance engineering
  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.
- [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.
- [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, 2021 edition](https://swe.quest/articles/what-the-interns-have-wrought-2021-edition-0f76a8f694a74c7c.md): Jane Street Tech Blog · 2021-08-09 · Medium · 10 min read · Functional programming, Engineering culture, Developer tools, Observability
  Jane Street's 2021 dev internship (87 interns across New York, London and Hong Kong) is showcased through three projects.

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)
