Skip to content

Sized Hierarchy and Scalable Vectors #270

@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @davidtwco
Team(s) compiler, lang, libs-api, types
Goal document 2026/scalable-vectors

Summary

Over the next year, we will build on the foundational work from 2025 to stabilize
the Sized trait hierarchy and continue nightly support for scalable vectors:

  • Stabilize the refined Sized trait hierarchy (without constness), unblocking extern types
  • Propose and implement const Sized to support scalable vectors
  • Achieve RFC acceptance for [rfcs#3838] (Scalable Vectors)
  • Land SVE types and intrinsics in stdarch for nightly experimentation
  • Continue addressing stabilization blockers for SVE itself
  • Begin design work for supporting the Scalable Matrix Extension (SME)

The const Sized work (Part II of [rfcs#3729]) is deferred to a future goal,
allowing us to deliver value sooner through the trait hierarchy stabilization.
This future work interacts with ongoing const generics
efforts, as const Sized depends on progress in const traits.

Tasks and status


Note: we have updated the body to match the 2026 goal. Your original text is preserved below.

Details

Metadata
Point of contact @davidtwco
Team(s) compiler, lang, libs, types
Goal document 2025h2/scalable-vectors

Summary

Over the next six months, we will continue our efforts from the 2025H1 goal to
merge nightly support for SVE and establish a path towards stabilisation:

  • propose language changes which will enable scalable vector types to be
    represented in Rust's type system
  • land an experimental nightly implementation of SVE
  • identify remaining blockers for SVE stabilisation and plan their resolution
  • gain a better understanding of SME's implications for Rust and identify first
    steps towards design and implementation

Tasks and status


Note: we have updated the body to match the 2025h2 goal. Your original text is preserved below.

Metadata
Point of contact @davidtwco
Team(s) compiler, lang, types
Goal document 2025h1/arm-sve-sme

Summary

Over the next six months, we will aim to merge nightly support for SVE and establish a path
towards stabilisation:

  • propose language changes which will enable scalable vector types to be represented in Rust's
    type system
  • land an experimental nightly implementation of SVE
  • identify remaining blockers for SVE stabilisation and plan their resolution
  • gain a better understanding of SME's implications for Rust and identify first steps towards design
    and implementation

Tasks and status

Land nightly experiment for SVE types

Upstream SVE types and intrinsics

Extending type system to support scalable vectors

  • Extending type system to support scalable vectors (@davidtwco)
  • Author RFC
  • Lang-team champion (lang Team)
  • RFC decision (types, lang Team)
  • Implementation
  • Standard reviews (compiler Team)

Investigate SME support

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Project goal

Status

Project Goals

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions