You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.
FYI: I am sure you all know, but I think currently std.Io.File.readPositional’s fn signature is borked and expects a buffer []u8 vs the vtable which takes a data: [][]u8 ?
@leroycep on Should std.Io.Dir.cwd() be part of the Io interface? : it's a big yes for us because this unlock the implementation of virtual filesystems on top of the IO interface.
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.
Activity
leroycep commentedon Nov 4, 2025
I made a table comparing the functions from
std.fs.Dirwith thestd.Io.VTablefields:fs.DirfnIo.VTablefieldIteratorstructIteratorstructSelectiveWalkerstructWalkerstructHere's a similar table for
std.fs.File:fs.FilefnIo.VTablefield/// Deprecated in favor ofReader./// Deprecated in favor ofWriter./// Deprecated in favor ofWriter./// Deprecated in favor ofWriter.std.Io.Dir.cwd()be part of the Io interface?std.fs.File.Writerneeds to be moved intostd.Io.File.francisqureshi commentedon Nov 17, 2025
FYI: I am sure you all know, but I think currently std.Io.File.readPositional’s fn signature is borked and expects a buffer []u8 vs the vtable which takes a data: [][]u8 ?
😙
hugomano commentedon Nov 26, 2025
@leroycep on
Should std.Io.Dir.cwd() be part of the Io interface?: it's a big yes for us because this unlock the implementation of virtual filesystems on top of the IO interface.andrewrk commentedon Dec 20, 2025
Discussion continues at https://codeberg.org/ziglang/zig/pulls/30232