Skip to content

Drop netstandard2.0 #198

@Zetanova

Description

@Zetanova

Any plans to drop the netstandard2.0 support?

I want/wanted to add an improved version of cursor.PutMultiple the current impl. has not a nice surface.
and then discovered that the projects still targets netstandard2.0, this is only required for .NET Framework 4.6.1+ (legacy Windows apps)
Because Lightning.Net seams stable legacy users could still use an older version of the package.

Benefits of dropping netstandard2.0: (AI generated)

  • Performance - LibraryImport (source-generated P/Invoke) vs DllImport - faster marshalling
  • Modern APIs - Span improvements, MemoryMarshal additions, better Unsafe class
  • Language features - ref readonly, file scoped types, required members, init properties
  • Generic math - IBinaryInteger, IUnsignedNumber - exactly what you're using
  • Maintenance - Single code path, no #if conditionals, simpler CI
  • AOT/Trimming - Full Native AOT support, better trimming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions