[go-nuts] Excelize

2022-08-16 Thread Daniel Jankins
Hi, I am using Golang Excelize to generate charts. I would like to use the secondary axis for series. Does anyone know where there is an example? Thank you -- DanJ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group a

[go-nuts] Re: Go generics and bloating

2022-08-16 Thread Guillaume Lescure
Thanks a lot Axel that's the paper I was looking for :D Thanks for the article, I will read it. But if someone has more explanation for my little exemple, I'm still listening :) Le mardi 16 août 2022 à 22:18:26 UTC+2, harr...@spu.edu a écrit : > https://planetscale.com/blog/generics-can-make-yo

Re: [go-nuts] About Go 1.19 memory model clarificaitons on atomic operations.

2022-08-16 Thread Andrew Harris
On Monday, August 15, 2022 at 9:50:17 AM UTC-7 jake...@gmail.com wrote: > On Monday, August 15, 2022 at 5:20:58 AM UTC-4 ma...@changkun.de wrote: > >> Atomic operations on a and b are two different statements. It remains >> unclear where exactly is the sentence that tries to say this: atomic >>

[go-nuts] Re: Go generics and bloating

2022-08-16 Thread Andrew Harris
https://planetscale.com/blog/generics-can-make-your-go-code-slower is the best breakdown I've seen of current implementation details as they hit assembly. There is a little bit of oil/water thing with interfaces and generics - they don't exactly mix, but you can cook however you like ... On Tues

Re: [go-nuts] Go generics and bloating

2022-08-16 Thread 'Axel Wagner' via golang-nuts
You are looking for "Featherweight Go", I believe. https://arxiv.org/abs/2005.11710 On Tue, Aug 16, 2022 at 10:03 PM Guillaume Lescure wrote: > Hello, > > I remember a paper about Go Generics but I cannot find it again. > It was a scientist paper (with a lot of maths far beyond my understanding

[go-nuts] Go generics and bloating

2022-08-16 Thread Guillaume Lescure
Hello, I remember a paper about Go Generics but I cannot find it again. It was a scientist paper (with a lot of maths far beyond my understanding ^^). Title was something like "Lightweigh generics for Go" or something like that. I believe the background of the website was red (not sure either).

Re: [go-nuts] About Go 1.19 memory model clarificaitons on atomic operations.

2022-08-16 Thread Ludi Rehak
The 2nd linked playground program appears to be identical to the program that Russ Cox's memory models part 2 blog opens with: // Thread 1 // Thread 2 x = 1; while(done == 0) { /* loop */ } done = 1;print(x); Just substitu

Re: [go-nuts] Application Monitoring

2022-08-16 Thread K. Alex Mills
Monitoring and observability are best practices regardless of what language you use. We use a combination of Prometheus / Grafana and metrics exported by runtime/metrics. We also include custom metrics tailored to our application's use-case. Prometheus is not a standard Linux tool, but it is open

Re: [go-nuts] Library for printing a struct as a compiler recognized version

2022-08-16 Thread 'Dan Kortschak' via golang-nuts
On Mon, 2022-08-15 at 21:23 -0700, John wrote: > Thank you everyone who responded.  Gave utter a look and its pretty > decent.  I found litter a bit more developed around the circular > reference area.  But both were great suggestions and just what I was > looking for. I would be careful with lit