# Merge pull request \#24329 from ziglang/writergate · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1a998886c863a1829d649f196093f1058cd9cf13)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1a998886c863a1829d649f196093f1058cd9cf13

Requested commit: 1a998886c863a1829d649f196093f1058cd9cf13

Commit: 1a998886c863a1829d649f196093f1058cd9cf13

Tree: db1b3b0a043a113cfb6544e8103cb64f8e4e4d8f

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #24329 from ziglang/writergate

Deprecates all existing std.io readers and writers in favor of the newly
provided std.io.Reader and std.io.Writer which are non-generic and have the
buffer above the vtable - in other words the buffer is in the interface, not
the implementation. This means that although Reader and Writer are no longer
generic, they are still transparent to optimization; all of the interface
functions have a concrete hot path operating on the buffer, and only make
vtable calls when the buffer is full.
```

## Parents

- [5b4b033236a7bed19c90faf7fefbc1990911cfef](https://git.cafe/gitcafe/zig/commit/5b4b033236a7bed19c90faf7fefbc1990911cfef?format=markdown)

- [10d6db5d7d1fb62ee2915a7ad2c7feb771ea3bbb](https://git.cafe/gitcafe/zig/commit/10d6db5d7d1fb62ee2915a7ad2c7feb771ea3bbb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1a998886c863a1829d649f196093f1058cd9cf13?format=markdown)
