How is the byte counting reader supposed to work in user space without putting the buffer in user space? The article claims there is a way but I want to see what is meant by counting bytes in that case.
by mike_hock
1 subcomments
Zero-Copy in Go: Why magic is an antipattern, and: performance is observable behavior.
by sly010
0 subcomment
Beware, there are versions of go where sendfile is broken and only sends the first 4k of a file on macos.
by joaohaas
0 subcomment
Interesting premise for a post, but I had to stop midway due to the AI slop writing adding meaningless information.
by throwrioawfo
1 subcomments
Ugh, AI slop writing.
by inigyou
0 subcomment
This is almost like the expression problem. Copy is a new operation, and you introduced a new type, thus creating a new grid cell nobody from either side could have reasonably known about - except for the fact Copy is in the standard library so you could have known about it but not done anything.