Re: [go-nuts] Experience Report: Using Coroutines for Parsing

2025-03-26 Thread roger peppe
Glad to hear it worked out for you! rog. On Mon, 24 Mar 2025, 20:06 Jason E. Aten, wrote: > I implemented this iter.Pull strategy for keeping parser state, instead of > using a background goroutine (as I did for years) in my pure Go lisp, > zygomys, > and the resulting code is much easier to r

[go-nuts] Returning success from a canceled goroutine in an gRPC server stub

2025-03-26 Thread 'Bushnell, Thomas' via golang-nuts
I would like a gRPC server, written in Go, to be able to implement something like the following. My question is whether the "good thing" happens enough to provide a benefit. It is fine if sometimes the "good thing" does not happen. The server is receiving updates from a large number of clients b

[go-nuts] ANN: jcp does rsync, but 3x faster

2025-03-26 Thread Jason E. Aten
I've open sourced jcp, my rsync-like file transfer library and CLI. By using Go's fabulous multicore support, jcp can do diff-only filesystem syncs up to 3x faster than rsync (which is a single threaded C program). It uses a parallelized version of the FastCDC algorithm with a Gear table to ship