x07-io-streams

star 8

Canonical streaming I/O patterns in X07 using std.io / std.io.bufread and world adapters.

x07lang By x07lang schedule Updated 2/1/2026

name: x07-io-streams description: Canonical streaming I/O patterns in X07 using std.io / std.io.bufread and world adapters. metadata: short-description: Streaming I/O patterns version: 0.1.0 kind: docs

x07-io-streams

Prefer streaming parsing and zero-copy views over full-buffer copies.

Canonical patterns

  • Prefer bytes_view + view.* builtins for scan/trim/split without copying.
  • Prefer std.stream.pipe_v1 for deterministic, budgeted streaming composition (source → transducers → sink).
  • Prefer std.io / std.io.bufread for streaming reads:
    • io.read
    • bufread.fill + bufread.consume
  • Prefer world adapters that return reader ifaces:
    • std.fs.open_read
    • std.kv.get_stream

For the built-in reference guide, use x07 guide and search for std.io / std.io.bufread.

Install via CLI
npx skills add https://github.com/x07lang/x07 --skill x07-io-streams
Repository Details
star Stars 8
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator