protty

Results 50 comments of protty

It works but doesn't seem compatible with WinSock.

Complete in what sense?

Similar to zig itself, the project is fully usable while still being worked on. I plan to add extra things like a runtime which manages the fibers as a separate...

A decent amount of the code could be simplified using comptime into something like: ```rs // shared (dst, src) copy(blk, offsets): for i in offsets: dst[i..][0..blk].* = src[i..][0..blk].* memcpy(len): if...

> Our memcpy assumes that src/dst don't overlap, so a change like that would be a (non breaking, but significant) change in semantics that would affect performance. I rather mean...

Given task memory is intrusively provided, if it never invokes the callback due to a cancellation request then how can it free the Task? Furthermore, not all tasks are inherently...

a note on the `pread/pwrite` bit is that `WriteFileGather` on windows looks like it only supports page aligned userspace buffers + require null terminating its "iovec equivalent" structure. There exist...

IPC and POSIX jobserver interaction for coordinating threaded work seem inefficient. Could it all be avoided by making zig commands (i.e. `build-exe`, `test`, etc.) normal functions accepting string args, then...

The idea of a builtin on the block instead of the condition makes sense to support cases where the condition isn't visible (or would be annoying to make visible) in...

> In a replicated dispatch switch loop you probably would want to have more control than simply saying which is the mostly likely target anyway An efficient dispatch switch should...