abrown commented on issue #5274:
cc: @alexcrichton, @pchickey: I would like to add benchmarks for "scan a directory" and "read a file" but I don't know how to do that yet... any pointers to how to use
path_open
andfd_read
the right way?
pchickey commented on issue #5274:
Not much I can say about using fd_read and path_open from using
.wat
beyond, read what wasi-libc does to call them and mimic that. There is not a whole lot you can get wrong.fd_readdir
is a total nightmare in preview1, but again wasi-libc can show the way.
abrown commented on issue #5274:
I'm going to merge this as-is and figure out the next scenarios in a future PR.
Last updated: Dec 23 2024 at 13:07 UTC