---
title: "FastLanes: A Next-Gen File Format (PhD thesis)"
authors:
  - "Azim Afroozeh"
year: 2026
venue: "PhD thesis, Vrije Universiteit Amsterdam / CWI (SIKS Dissertation Series 2026-06), defended 9 Jan 2026"
arxiv: null
doi: "10.5463/thesis.1348"
source: "https://research.vu.nl/en/publications/fastlanes-a-next-gen-file-format/"
version_reviewed: "VU Research Portal PDF (publisher's version), fetched 2026-11-29"
topics:
  - "lightweight-compression"
  - "bit-packing"
  - "interleaved-layout"
  - "unified-transposed-layout"
  - "delta-decoding"
  - "auto-vectorization"
  - "columnar-file-formats"
  - "floating-point-compression"
seed_rank: 2750
seed_batch: "craft-2026-11-29"
reviewed: "2026-11-29"
pool: "systems"
relevance_score: 8
lineage: contemporary-databases
cites:
  - title: "FastLanes: A Next-Gen File Format"
    url: "https://doi.org/10.5463/thesis.1348"
    year: 2026
    arxiv: null
    doi: "10.5463/thesis.1348"
  - title: "The FastLanes Compression Layout: Decoding >100 Billion Integers per Second with Scalar Code"
    url: "https://doi.org/10.14778/3598581.3598587"
    year: 2023
    arxiv: null
    doi: "10.14778/3598581.3598587"
  - title: "ALP: Adaptive Lossless floating-Point Compression"
    url: "https://doi.org/10.1145/3626717"
    year: 2023
    arxiv: null
    doi: "10.1145/3626717"
  - title: "Accelerating GPU Data Processing using FastLanes Compression"
    url: "https://doi.org/10.1145/3662010.3663450"
    year: 2024
    arxiv: null
    doi: "10.1145/3662010.3663450"
  - title: "Decoding billions of integers per second through vectorization"
    url: "https://doi.org/10.1002/spe.2203"
    year: 2015
    arxiv: "1209.2137"
    doi: "10.1002/spe.2203"
  - title: "FastLanes (source, MIT)"
    url: "https://github.com/cwida/FastLanes"
    year: 2026
    arxiv: null
    doi: null
  - title: "ALP (source, MIT)"
    url: "https://github.com/cwida/ALP"
    year: 2025
    arxiv: null
    doi: null
see:
  - "2444-decoding-billions-of-integers-per-second-through-vectorization"
  - "129-monetdb-x100-hyper-pipelining-query-execution"
  - "833-everything-you-always-wanted-to-know-about-compiled-and-vect"
  - "2739-on-searching-transposed-files"
---

# FastLanes: A Next-Gen File Format (PhD thesis)

## One-sentence takeaway

Lay out every 1024-value column vector for a virtual 1024-bit SIMD register: interleave the bit-packed lanes, and reorder tuples into one "Unified Transposed Layout" (8×16 tiles in the order 04261537) that gives DELTA, RLE and FOR independent work for every lane width (8/16/32/64 bits). Then the plain scalar code path, which uses only load/store, shift, and/or/xor, add and set, auto-vectorizes to match hand-written intrinsics. On that layout, bit-unpacking reaches about 70 tuples per cycle for 8-bit data, and DELTA decoding runs 3–40× faster than prior SIMD schemes.

## Why it matters here

Anoptic and ano are SoA through and through, so this is a recipe for compressed columns that never leave the cache-sized vector. It applies to replay and save-state streams in GRID COMMAND, to snapshot/rollback buffers, to asset metadata, and to ano's own column store. Three lessons transfer directly. (1) Design the layout for the widest plausible register and run it on narrow ones as multiple identical instructions, never the reverse, so one binary works on SSE, AVX2, AVX-512, NEON and scalar uint64. (2) Break sequential dependencies (prefix sums, deltas, run expansion) by transposing the data rather than by being clever in the decoder. One shared tuple order for all column widths means a multi-column scan never re-permutes. (3) "No control flow, no data dependencies, simple ops" is what lets clang auto-vectorize, which ties straight back to the C23 house style and to Odin's #soa experience (2751). ALP adds a fast lossless codec for float columns, the common case for simulation state. The game and engine uses are my extrapolation; the thesis targets OLAP file formats.

## Key ideas

- **Virtual FLMM1024 ISA.** The instruction set has only LOAD/STORE, AND_LSHIFT/AND_RSHIFT, AND/OR/XOR, ADD and SET over T-bit lanes. Thinner ISAs issue several identical instructions on adjacent registers, and the Scalar_T64 path is `struct { uint64 val[16]; }`. Choosing 1024 bits is a compromise: a chunk of 1024 W-bit values fills exactly W registers, and wider chunks hurt compression.
- **Interleaved bit-packing.** Values are distributed round-robin across 1024/T lanes, so unpacking never needs PERMUTE or BITSHUFFLE. A 4-way layout gains little from AVX2/AVX-512, while the 1024-bit interleaved layout gets 2×/4× faster on them.
- **Unified Transposed Layout.** A per-T transposed order breaks DELTA's dependency chain but differs per type width. Unifying it to 8×16 tiles in 04261537 order works for all widths at once. The cost is one base per lane, about 1 bit per value, cut to around 0.21 bit per value (≈3% at W=7, T=64) by delta-coding the bases in a row-group header. FastLanes-RLE reuses the same order for its index vector.
- **Scalar is enough.** Scalar_T64 is roughly 64/T× faster than naive scalar, and clang auto-vectorizes it to intrinsic speed. The thesis recommends shipping only the scalar path for these kernels. Decompressing scans beat plain uncompressed array scans in RAM, by up to 7× over uncompressed and 4× over scalar decoding in one SUM experiment.
- **Beyond Chapter 2.** ALP compresses doubles that are really decimals, by representing them as integers, with ALPrd for "real" doubles. On GPUs, Chapter 4 finds that delivering 1024 values at a time limits occupancy and redesigns the API for finer-grained decoding, and Chapter 5 (G-ALP) reworks ALP for GPUs. Expression Encoding composes FOR/RLE/DICT into one file format, and CWI reports up to 40× over Parquet on an Apple M1 together with a better compression ratio.

## Caveats

The thesis is from January 2026; it resurfaced on HN and lobste.rs on 27–28 Nov, which is why it is in a Craft run, so it is evergreen rather than new. The VU PDF sits behind a Cloudflare check for curl, and I read it through a fetch proxy. I read the front matter, Chapter 1 and most of Chapter 2 (layout, ISA, evaluation and related work) closely. ALP, the GPU chapters and the file-format chapter I know only from the abstract, the introduction's chapter summaries and CWI's news item, so the "40× over Parquet" figure is CWI's summary, not my reading. Chapter 6 was submitted to VLDB 2025, and I did not check its acceptance. The transposed order changes tuple order inside a vector; the thesis argues this is harmless for scans, but anything order-sensitive must un-transpose. Results are on server and desktop CPUs and NVIDIA GPUs, not on consoles.

## Links

- Thesis record: https://research.vu.nl/en/publications/fastlanes-a-next-gen-file-format/
- DOI: https://doi.org/10.5463/thesis.1348
- PDF (VU portal): https://research.vu.nl/files/447013431/afroozehphdthesis%20-%2069280d90f0bfd.pdf
- PDF (CWI mirror): https://ir.cwi.nl/pub/36173/AzimAfroozeh.pdf
- FastLanes layout paper (PVLDB 2023): https://doi.org/10.14778/3598581.3598587
- ALP (SIGMOD 2024 / PACMMOD): https://doi.org/10.1145/3626717
- Code: https://github.com/cwida/FastLanes and https://github.com/cwida/ALP
- CWI news: https://www.cwi.nl/en/news/fastlanes-redesigning-data-files-for-faster-analytics/
- Discussions: https://news.ycombinator.com/item?id=50675195 and https://lobste.rs/s/ulfg29
