All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Deprecation of Existing std.io Readers and Writers in ziglang/zig

By

Retro_Dev

11mo ago· 3 min readenCode

Summary

The article discusses the deprecation of existing std.io readers and writers in favor of new non-generic std.io.Reader and std.io.Writer implementations with the buffer above the vtable.

Key quotes

· 4 pulled
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.
I have a lot more changes to upstream but it was taking too long to
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.
Snippet from the RSS feed
Previous Scandal Summary 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...

You might also wanna read