Skip to content

0.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Oct 00:58
Immutable release. Only release title and notes can be modified.
8e79330

Release Notes

Released on 2026-10-23.

Enhancements

  • Build and run programs on Linux x86-64 and ARM64 without installing a system
    compiler, linker, or development files. The release archives include Clang 18,
    LLD 18, and their native link inputs. This adds about 76 MB to each download.
    Use --clang to choose your own toolchain.
    (#138)
  • Compile Ruff’s complete scripts/conformance.py unchanged. Its command line
    runs both ty analyzers, decodes their JSON diagnostics into dataclasses, and
    renders both report formats byte-for-byte identically to Ruff on CPython.
    (#130,
    #132,
    #135,
    #137)

Performance

  • Relink native Linux x86-64 executables with LLD. Rebuilding Ruff’s seven-module
    reporter after a renderer edit took 0.88 s with LLD and 1.22 s with GNU BFD
    on the same pinned core. Switching linkers still reuses compiled module objects.
    (#131)
  • Vectorize more integer-list reductions when the element arithmetic and subtotal
    fit in machine integers. Summing x * (x + 1) over 4,096 digits, including
    parsing them from text, ran about twice as fast on x86-64.
    (#134)
  • Combine adjacent integer sums over the same zip(strict=True) into one
    traversal when the terms are total integer expressions. The telemetry reporter
    can compute signed, absolute, and squared error in one pass over its inputs.
    (#139)
  • Reuse uniquely owned record storage in loops that replace a record with a
    simple scalar-field constructor. A surviving alias keeps the original record.
    (#145)

Bug fixes

  • Remove the relar run executable after its loader opens it and before user
    code starts. Killing the compiler and program together at that point leaves
    the temporary directory empty. Older explicitly supplied runtimes still clean
    up on normal exit.
    (#147)
  • Match CPython’s counted regex repetitions with an omitted minimum, including
    greedy, lazy, and unbounded forms.
    (#127)
  • Report diagnostics for excessively deep first-party imports, long elif
    chains, nested context managers, and finally blocks whose repeated cleanup
    would generate excessive LLVM IR.
    (#149,
    #152,
    #156,
    #160)
  • Check long call chains and deeply nested class-field ownership graphs without
    exhausting the compiler’s native stack. Cycles still produce diagnostics.
    (#162,
    #164)

Full history for 0.1.2

Install relar 0.1.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://labs.astral.sh/relar/releases/0.1.2/relar-installer.sh | sh

Download relar 0.1.2

File Platform Checksum
relar-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
relar-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
relar-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum