iox v0.3.3 — Go 1.26 modernization #22
hayabusa-cloud
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
ioxextends Go's standardiopackage with non-blocking semantics for event-driven I/O stacks. It introduces two first-class control flow signals —ErrWouldBlock(no progress possible now; retry after readiness) andErrMore(progress happened; more completions will follow) — while preserving standardio.Reader/io.Writercompatibility and fast paths (WriterTo/ReaderFrom).The package provides Copy/CopyN helpers with semantic policy support, Tee adapters with precise progress counting, adaptive backoff for I/O readiness waiting, and Seeker-based partial write recovery. All semantic predicates and policy dispatch paths are zero-allocation.
Usage
Highlights
This release bumps the minimum Go version to 1.26 and modernizes the codebase using
go fix. No API changes — fully backward compatible with v0.3.x.What's Changed
Improvements
go fixmodernizers:min()/max()builtins,for range Nsyntax (Modernize to Go 1.26 #21)Compatibility
This discussion was created from the release iox v0.3.3 — Go 1.26 modernization.
Beta Was this translation helpful? Give feedback.
All reactions