Skip to content

Lint request: unbuffered I/O usage #1805

Open
@olson-dan

Description

@olson-dan

I and several other beginners have run into the surprising issue that Rust's default file reading and writing methods are unbuffered and buffered IO is purely opt-in with this language. It may be useful to add a lint to warn users about this, as it seems to come up from time to time when comparing programs to other languages such as Python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-perfLint: Belongs in the perf lint groupT-middleType: Probably requires verifiying types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions