2 ms·
I wrapped the zero-copy socket system call, for linux, for Golang: https://github.com/nathanjsweet/zsocket https://github.com/nathanjsweet/zsocket I've develo
by hacknat 10y ago
I wrapped the zero-copy socket system call, for linux, for Golang:
https://github.com/nathanjsweet/zsocket https://github.com/nathanjsweet/zsocket
I've developed it quite a bit more now, but I got the basic functionality done in a weekend.
The thing I'm proudest of is that the project doesn't directly reference the cgo package, has no locks, but is threadsafe (the no locks took more than a weekend to do ;) ).