Skip to content

Switch to FileStream/RandomAccess for I/O if feasible (.NET 9+) #76

@alexrp

Description

@alexrp

A number of improvements were made to FileStream in .NET 6: https://devblogs.microsoft.com/dotnet/file-io-improvements-in-dotnet-6

FileStream is now looking like a more attractive option for I/O compared to the hand-rolled interop we do right now.

That said, there are three major issues:

The (eventual) benefits of the switch would be improved performance, 'free' support for OS-native asynchronous operations, cancellation support, and more maintainable terminal driver code.

Metadata

Metadata

Assignees

Labels

area: driversIssues related to the terminal drivers.state: blockedIssues that are blocked on some other issue or work.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions