---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?tag=functional-programming"
---

# Posts

Filtered by topics: Functional programming.

Posts 1–24 of 27, page 1 of 2, 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-13

- [Flex Model: an event-driven feature engineering system](https://swe.quest/articles/flex-model-an-event-driven-feature-engineering-system-b101b9ddf0c5a739.md): Jane Street Tech Blog · 2026-10-13 · Medium · 13 min read · Functional programming, System design, Performance engineering, Machine learning, Memory management
  Flex Model is Jane Street's OCaml framework that turns market events into feature vectors for neural-network trading models, replacing a 17k-line monolith where adding one feature touched nineteen files.

## 2026-10-06

- [Building and testing a config management orchestrator for Windows](https://swe.quest/articles/building-and-testing-a-config-management-orchestrator-for-windows-526f2da3329d8384.md): Jane Street Tech Blog · 2026-10-06 · Medium · 6 min read · Configuration management, Deployment, Refactoring & migrations, Functional programming, Testing
  Jane Street replaced its per-host PowerShell config management for Windows, which evaluated JSON meta-configs locally for applicability, scheduling and phased rollout, with a centralized design.

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

## 2026-10-01

- [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-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-05-26

- [strace-ui, Bonsai\_term, and the TUI renaissance](https://swe.quest/articles/strace-ui-bonsai-term-and-the-tui-renaissance-cdfbd7f00b61f5f9.md): Jane Street Tech Blog · 2026-05-26 · Easy · 9 min read · Functional programming, Developer tools, Debugging, Testing, AI for coding
  Jane Street's strace-ui turns strace into an interactive terminal UI with on-the-fly syscall hiding, per-file-descriptor navigation and filtering, short PID labels, hexdumped buffers, man-page lookup and hostname resolution for sockets.

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

## 2024-08-26

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

## 2023-09-12

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

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

## 2023-01-09

- [What if writing tests was a joyful experience?](https://swe.quest/articles/what-if-writing-tests-was-a-joyful-experience-24be6abe32cc317e.md): Jane Street Tech Blog · 2023-01-09 · Medium · 11 min read · Testing, Functional programming, Developer productivity
  Expect tests (snapshot tests) let you write a blank \`\[%expect\]\` block under code that prints output; the test runner fills in the actual output as a diff you can accept in your editor, making test-writing feel like a REPL session.

## 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-11-17

- [Computations that differentiate, debug, and document themselves](https://swe.quest/articles/computations-that-differentiate-debug-and-document-themselves-027e0f3894353813.md): Jane Street Tech Blog · 2022-11-17 · Medium · 14 min read · Functional programming, Algorithms, Testing, Debugging
  Jane Street's OCaml library Gradient\_calculator represents numerical cost computations (margin, financing, capital) as expression trees, so one definition can be evaluated, automatically differentiated, debugged and documented.

## 2022-08-25

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

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

## 2021-11-04

- [How Two Interns Are Helping Secure Millions of Lines of Code](https://swe.quest/articles/how-two-interns-are-helping-secure-millions-of-lines-of-code-daa936f3b67e08a6.md): Slack Engineering · 2021-11-04 · Medium · 6 min read · Static analysis, Application security, PHP, Functional programming, Open source
  Slack added Hack support to Semgrep so its 5+ million lines of Hack could be scanned for security vulnerabilities, since no static analysis tools exist for the language.

## 2021-09-13

- [Superpack: Pushing the limits of compression in Facebook’s mobile apps](https://swe.quest/articles/superpack-pushing-the-limits-of-compression-in-facebook-s-mobile-apps-cb66a7a2bfc6bd02.md): Meta Engineering · 2021-09-13 · Hard · 13 min read · Compilers, Algorithms, Mobile, Functional programming
  Superpack is Meta's asymmetric compressor that combines compiler analysis with data compression, cutting Android app size by over 20% on average versus default Zip compression for apps like Facebook, Instagram, WhatsApp and Messenger.

## 2021-08-26

- [Goodbye Core\_kernel](https://swe.quest/articles/goodbye-core-kernel-cd0986a968807099.md): Jane Street Tech Blog · 2021-08-26 · Medium · 2 min read · Functional programming, Refactoring & migrations, Open source
  Jane Street merged its Core and Core\_kernel OCaml standard libraries by moving the mostly non-portable, Unix-dependent functionality out of Core into standalone libraries and then renaming Core\_kernel to Core.

[Next page](https://swe.quest/index.md?tag=functional-programming&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=functional-programming](https://swe.quest/feed.xml?tag=functional-programming). 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)
