---
title: "Jane Street Tech Blog (hard)"
description: "Posts from Jane Street Tech Blog on swe.quest."
url: "https://swe.quest/sources/jane-street?difficulty=hard"
---

# Jane Street Tech Blog (hard)

Posts from [Jane Street Tech Blog](https://blog.janestreet.com), newest first.

Posts 1–23 of 23, page 1 of 1, newest first.

## 2026-11-06

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

## 2026-10-02

- [How recurring network maintenance exposed 6 bugs](https://swe.quest/articles/how-recurring-network-maintenance-exposed-6-bugs-e0c55b4aaea1ee8f.md): Jane Street Tech Blog · 2026-10-02 · Hard · 20 min read · Debugging, DNS, Resilience, Functional programming, Linux
  Recurring weekend network partitions caused Jane Street's Kafka relays and consumer-group monitors to segfault, leak hundreds of thousands of sockets, and crash under recovery-time TCP connection surges, and tracing them uncovered six layered bugs.
- [Results from the ASIC puzzle](https://swe.quest/articles/results-from-the-asic-puzzle-ca06d1b0c156ce5d.md): Jane Street Tech Blog · 2026-10-02 · Hard · 12 min read · Hardware, Debugging, Formal methods
  Jane Street's puzzle chip, shipped as a bare GDS layout, turns out to be a hardware checker for an 11x11 Star Battle ("Two Not Touch") puzzle.

## 2026-10-01

- [A resilient kernel log reporter](https://swe.quest/articles/a-resilient-kernel-log-reporter-6b71e14df313dc47.md): Jane Street Tech Blog · 2026-10-01 · Hard · 6 min read · Linux, Observability, Resilience, Debugging, Operating systems
  Jane Street built a kernel log shipper that keeps working when disk or network fail, so logs from the most interesting crashes still reach central storage.
- [A FUSE server for our in-house storage backend](https://swe.quest/articles/a-fuse-server-for-our-in-house-storage-backend-496f3dfce1bb1501.md): Jane Street Tech Blog · 2026-10-01 · Hard · 6 min read · Storage systems, Functional programming, Linux, Performance engineering
  Jane Street built an OCaml-native FUSE library, implementing the protocol directly instead of using blocking libfuse via FFI, and used it to expose Depot, its in-house object store, as a read-only POSIX filesystem for research workloads.

## 2026-09-30

- [Mitigating memorization in LLMs](https://swe.quest/articles/mitigating-memorization-in-llms-72b97a002db22906.md): Jane Street Tech Blog · 2026-09-30 · Hard · 6 min read · LLMs, Evaluation, Model training, AI safety
  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.
- [Trading off compute for memory with activation checkpointing](https://swe.quest/articles/trading-off-compute-for-memory-with-activation-checkpointing-1f2b8d13685e738d.md): Jane Street Tech Blog · 2026-09-30 · Hard · 9 min read · Model training, Memory management, Compilers, Performance engineering, Python
  A whole-graph activation checkpointing planner for torch.compile takes an absolute GB memory budget and greedily drops min-cut saves with the cheapest recompute cost per byte of peak memory freed.
- [Can you use autoregressive diffusion to generate market data?](https://swe.quest/articles/can-you-use-autoregressive-diffusion-to-generate-market-data-32341b2dae725e72.md): Jane Street Tech Blog · 2026-09-30 · Hard · 8 min read · Machine learning, Model training
  Autoregressive diffusion over event-level US equities market data (trades and BBO updates) runs into trouble because market data is neither fully continuous nor fully discrete: timing and price distributions have sharp point masses.

## 2026-09-14

- [A study of sequence weighting at scale](https://swe.quest/articles/a-study-of-sequence-weighting-at-scale-de592286785581cb.md): Jane Street Tech Blog · 2026-09-14 · Hard · 9 min read · Model training, LLMs, Machine learning
  How strongly a language model's per-sequence loss reduction tracks that sequence's training weight changes non-monotonically with scale, as measured by a fitted effective sequence weight exponent p\*.

## 2026-06-15

- [Using OxCaml to implement type-safe reference counting between OCaml and Python](https://swe.quest/articles/using-oxcaml-to-implement-type-safe-reference-counting-between-ocaml-and-python-6289aa53698f2fb6.md): Jane Street Tech Blog · 2026-06-15 · Hard · 12 min read · Functional programming, Memory management, Type systems, Python
  Wrapping Python objects as OCaml values in PyOCaml ties each object's release to the OCaml GC finalizer, so large data frames or GPU buffers can stay alive long after Python code drops them.

## 2026-04-22

- [Using group theory to explore the space of positional encodings for attention](https://swe.quest/articles/using-group-theory-to-explore-the-space-of-positional-encodings-for-attention-24091e992dee90df.md): Jane Street Tech Blog · 2026-04-22 · Hard · 11 min read · LLMs, Machine learning
  Requiring a positional encoding for attention to be linear in queries and keys, translation-invariant (depending only on relative position) and continuous forces it to be a one-parameter matrix group A(t)=exp(tX).

## 2026-02-24

- [Can you reverse engineer our neural network?](https://swe.quest/articles/can-you-reverse-engineer-our-neural-network-86a50d8d5fe35d5c.md): Jane Street Tech Blog · 2026-02-24 · Hard · 12 min read · Machine learning, AI safety, Cryptography, Algorithms
  A Jane Street ML puzzle shipped a fully specified, hand-built PyTorch network with integer weights that outputs 0 for almost every input, and the writeup follows one solver's path to cracking it.

## 2026-01-06

- [Fun with Algebraic Effects - from Toy Examples to Hardcaml Simulations](https://swe.quest/articles/fun-with-algebraic-effects-from-toy-examples-to-hardcaml-simulations-5f2853fd03f84a3a.md): Jane Street Tech Blog · 2026-01-06 · Hard · 17 min read · Functional programming, Language design, Concurrency, Testing
  Algebraic effects in OCaml 5/OxCaml can replace monads for most uses, and Jane Street ported Hardcaml\_step\_testbench from a monadic API to effects.

## 2025-08-27

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

## 2025-07-02

- [A Higgs-bugson in the Linux Kernel](https://swe.quest/articles/a-higgs-bugson-in-the-linux-kernel-ee1594bf1b749860.md): Jane Street Tech Blog · 2025-07-02 · Hard · 11 min read · Debugging, Linux, Storage systems, Identity & auth, Networking
  Rare EACCES failures during large file copies over Kerberized NFSv3 came from a Linux kernel bug in RPCSEC\_GSS reply verification.

## 2025-03-22

- [Advent of Hardcaml](https://swe.quest/articles/advent-of-hardcaml-7a69fcd00d2b9f17.md): Jane Street Tech Blog · 2025-03-22 · Hard · 8 min read · Hardware, Functional programming, Algorithms
  Several Advent of Code 2024 puzzles were solved entirely on a small Lattice ECP5 FPGA (84K LUTs, 4 Mbits RAM) using Hardcaml, Jane Street's OCaml-embedded HDL, with the open-source Yosys + NextPNR toolchain.

## 2024-08-29

- [ICFP 2024](https://swe.quest/articles/icfp-2024-a2b848db9d4cf383.md): Jane Street Tech Blog · 2024-08-29 · Hard · 8 min read · Functional programming, Type systems, Language design, Memory management, Compilers
  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.

## 2023-09-01

- [Oxidizing OCaml: Data Race Freedom](https://swe.quest/articles/oxidizing-ocaml-data-race-freedom-67442324c35f0e1c.md): Jane Street Tech Blog · 2023-09-01 · Hard · 15 min read · Functional programming, Type systems, Concurrency, Language design, Memory safety
  Jane Street's OCaml extensions use a new \`sync\` mode to make data races statically unrepresentable in multicore OCaml 5.

## 2023-06-21

- [Oxidizing OCaml: Rust-Style Ownership](https://swe.quest/articles/oxidizing-ocaml-rust-style-ownership-5670c1001a0b9cc2.md): Jane Street Tech Blog · 2023-06-21 · Hard · 14 min read · Functional programming, Type systems, Language design, Memory management, Rust
  Jane Street's OCaml extensions add Rust-style ownership through mode axes.

## 2023-05-26

- [Oxidizing OCaml: Locality](https://swe.quest/articles/oxidizing-ocaml-locality-b1f7bf98d1488c18.md): Jane Street Tech Blog · 2023-05-26 · Hard · 13 min read · Functional programming, Type systems, Memory management, Language design, Compilers
  Jane Street is extending OCaml with modes, starting with a locality mode that marks values as local (cannot escape their region) or global, so the compiler can stack-allocate short-lived values while keeping garbage collection everywhere else.

## 2022-12-07

- [Accelerating zk-SNARKs - MSM and NTT algorithms on FPGAs with Hardcaml](https://swe.quest/articles/accelerating-zk-snarks-msm-and-ntt-algorithms-on-fpgas-with-hardcaml-e0e40be298934874.md): Jane Street Tech Blog · 2022-12-07 · Hard · 8 min read · Hardware, Cryptography, Algorithms, Performance engineering, Functional programming
  A Hardcaml-built FPGA implementation of Pippenger's algorithm for multi-scalar multiplication on the BLS12-377 curve won first place in the ZPrize MSM track, computing a 2^26-point MSM in about 5.08s on an AWS f1.2xlarge at 52W.

## 2022-01-11

- [Magic-trace: Diagnosing tricky performance issues easily with Intel Processor Trace](https://swe.quest/articles/magic-trace-diagnosing-tricky-performance-issues-easily-with-intel-processor-bf89d988f02b1230.md): Jane Street Tech Blog · 2022-01-11 · Hard · 14 min read · Performance engineering, Hardware, Linux, Debugging, Functional programming
  Magic-trace is an open-source tool that uses Intel Processor Trace in circular-buffer mode to capture roughly the last 10ms of execution before a chosen function call, then renders every function call on a nanosecond-resolution timeline in a forked Perfetto UI.

## 2019-01-29

- [L2 Regularization and Batch Norm](https://swe.quest/articles/l2-regularization-and-batch-norm-1d8a06d41ed48cf7.md): Jane Street Tech Blog · 2019-01-29 · Hard · 16 min read · Model training, Machine learning
  In a convolutional net where layers feed into batch normalization, an L2 penalty (weight decay) no longer regularizes those layers, because batch norm makes the output invariant to weight scale.

Same list as RSS: [https://swe.quest/feed.xml?source=jane-street&difficulty=hard](https://swe.quest/feed.xml?source=jane-street&difficulty=hard). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
