Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developers can use Generic Math without enabling preview features #63548

Closed
30 of 39 tasks
Tracked by #57209
jeffhandley opened this issue Jan 9, 2022 · 2 comments
Closed
30 of 39 tasks
Tracked by #57209

Developers can use Generic Math without enabling preview features #63548

jeffhandley opened this issue Jan 9, 2022 · 2 comments
Assignees
Labels
area-System.Numerics Cost:XL Work that requires one engineer more than 4 weeks Priority:1 Work that is critical for the release, but we could probably ship without Team:Libraries User Story A single user-facing feature. Can be grouped under an epic.
Milestone

Comments

@jeffhandley
Copy link
Member

jeffhandley commented Jan 9, 2022

In .NET 7, we will stabilize the API surface area and implementations for Generic Math features.

Prerequisites

  • Ensure the C++/CLI compatibility issue with static abstracts in interfaces has been addressed
    • Partner with the WPF team to ensure that fix has been integrated and validated
  • Confirm Native AOT scenarios work with static abstract interface members on primitive types
  • Confirm Mono AOT scenarios work with static abstract interface members on primitive types

Work Items

Language Features

Acceptance Criteria

  • Present the feature set at the MVP summit to solicit feedback (@MadsTorgersen)
  • Consider moving the advanced interfaces into a namespace other than System
  • Consider making interface implementations implicit
  • Reference APIs are integrated into System.Runtime without the need for the System.Runtime.Experimental package installation
  • The [RequiresPreviewFeatures] attribute is removed from all Generic Math APIs
  • Propose and implement a Roslyn Analyzer for spotting IntPtr vs. nint behavioral differences to highlight the altered behavior
  • Partner with ecosystem package authors to garner feedback on the APIs
  • Validate usability in F#
  • Author a blog post / demo

Community Validation

The following community members and products will be contacted for validation of compatibility with this feature set. We will aim for validation from them before Preview 4 ships.

  • ILSpy
  • dotPeek
  • source.dot.net
  • Unity
  • Profilers
@jeffhandley jeffhandley added area-System.Numerics User Story A single user-facing feature. Can be grouped under an epic. Priority:1 Work that is critical for the release, but we could probably ship without Cost:XL Work that requires one engineer more than 4 weeks Team:Libraries labels Jan 9, 2022
@jeffhandley jeffhandley added this to the 7.0.0 milestone Jan 9, 2022
@ghost
Copy link

ghost commented Jan 9, 2022

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

In .NET 7, we will stabilize the API surface area and implementations for Generic Math features.

Prerequisites

Work Items

Language Features

Acceptance Criteria

  • Consider moving the advanced interfaces into a namespace other than System
  • Consider making interface implementations implicit
  • Reference APIs are integrated into System.Runtime without the need for the System.Runtime.Experimental package installation
  • The [RequiresPreviewFeatures] attribute is removed from all Generic Math APIs
  • Partner with ecosystem package authors to garner feedback on the APIs
  • Validate usability in F#
  • Author a blog post / demo
Author: jeffhandley
Assignees: jeffhandley, tannergooding
Labels:

area-System.Numerics, User Story, Priority:1, Cost:XL, Team:Libraries

Milestone: 7.0.0

@tannergooding
Copy link
Member

This has been resolved since .NET 7 Preview 4.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Numerics Cost:XL Work that requires one engineer more than 4 weeks Priority:1 Work that is critical for the release, but we could probably ship without Team:Libraries User Story A single user-facing feature. Can be grouped under an epic.
Projects
None yet
Development

No branches or pull requests

2 participants