[go-nuts] Re: Low memory utilization when using soft memory limit with GOGC=off

2023-12-06 Thread 'Michael Knyszek' via golang-nuts
On Tuesday, December 5, 2023 at 1:06:19 AM UTC-5 Zhihui Jiang wrote: Hi there, We are running a large scale recommendation system using Golang and we are working on some GC related improvement recently. One of the changes we are trying to apply is to use soft memory limit with GOGC=off as

[go-nuts] Announcing the tabula backgammon engine

2023-12-06 Thread Trevor Slocum
tabula is a relatively simple backgammon engine, created to allow playing offline in the client for https://bgammon.org The engine currently performs a weighted 1-ply analysis. Read about how the engine works in the design document at

[go-nuts] gomobile: a success story and a heartfelt thanks!

2023-12-06 Thread 'Marko Bencun' via golang-nuts
Hi This is just a short post to say **thanks** to the gomobile team for making and maintaining such a great tool! I am unsure of how big the team is or how widely adopted this tool is, so I thought it can't hurt to post a success story and to let you know that gomobile was and is mission critical

[go-nuts] Re: Sending Context across channel - is it an anti-pattern?

2023-12-06 Thread 'Brian Candler' via golang-nuts
A (cancellable) context is mostly just a channel, which is closed as a broadcast signal, wrapped in an interface. I don't think that how you pass it around makes any difference, including sending it over another channel. Aside: it can be argued that "worker pool" is an anti-pattern in Go.

[go-nuts] Re: Using Go in picore (tinycore)

2023-12-06 Thread 王富民awaw
Good point, perhaps cross compiling with GOOS=linux and GOARCH=arm would be the easiest path. Can anyone share their experiences with regard to actually doing this on tinycore, and it indeed works? On Wednesday 6 December 2023 at 16:21:34 UTC+8 Brian Candler wrote: > You should note that you

[go-nuts] Re: Using Go in picore (tinycore)

2023-12-06 Thread 'Brian Candler' via golang-nuts
You should note that you don't necessarily need to install the go compiler on your target machine. You can build ARM binaries on an x86_64 machine for example - set the parameters GOOS and GOARCH. Go is especially good for this sort of cross-compilation, as it doesn't require any special