dotnet / dotnet/csharplang

[Proposal]: First-Class Span Types (VS 18.0, .NET 10)

Open
#8,714 0 comments 0 reactions 1 assignee Claimed by @333fred View on GitHub
Implemented Needs ECMA Spec Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

# First-Class Span Types

* Specification: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-14.0/first-class-span-types.md
* Discussion: https://github.com/dotnet/csharplang/discussions/8713

## Summary
[summary]: #summary

We introduce first-class support for `Span` and `ReadOnlySpan` in the language, including new implicit conversion types and consider them in more places,
allowing more natural programming with these integral types.

## Design meetings

* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-02-05.md#first-class-span-types
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-05-13.md#first-class-span-types-questions
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-06-24.md#first-class-spans
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-07-15.md#first-class-spans-open-question
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-09-11.md#first-class-span-types
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-12-04.md#first-class-span-open-questions
* https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-12-09.md#first-class-span-open-questions
* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-01-06.md#ignoring-ref-structs-in-expressions

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.