Re: [go-nuts] go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 not working

2022-07-23 Thread James Brooke
Thanks again for following up on this Kurtis. The command is in the subject line: "go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 not working". Apologies if that wasn't clear. I'm finding this confusing to say the least. Without any further changes to my system, and not heading

Re: [go-nuts] Does golang collects these threads use by cgo funtion?

2022-07-23 Thread Ian Lance Taylor
On Sat, Jul 23, 2022, 11:52 AM liu zeonll wrote: > For example, my golang application create a thread by calling cgo > funciton, after cgo function complete its logic and return a result, does > golang scheduler will collect the thread? > I'm not sure I understand the question. Calling a cgo

[go-nuts] How to check Cmd.ProcessState without triggering the race checker?

2022-07-23 Thread TheDiveO
In my open source file descriptor leak checker (Linux only) for Gomega, Go's race detector flags a race condition in my code where I need to check whether a Cmd.Process already has terminated

[go-nuts] Does golang collects these threads use by cgo funtion?

2022-07-23 Thread liu zeonll
For example, my golang application create a thread by calling cgo funciton, after cgo function complete its logic and return a result, does golang scheduler will collect the thread? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

Re: [go-nuts] noinline is 25% faster than inline on apple m1 ?

2022-07-23 Thread 'Keith Randall' via golang-nuts
Yes, I think this is the extra LEAQ that appears in the loop. Ideally it would be lifted out of the loop. I think that is https://github.com/golang/go/issues/15808 On Friday, July 22, 2022 at 7:33:47 PM UTC-7 Taj Khattra wrote: > i get similar results with 1.18 (inline slower than noinline) >

Re: [go-nuts] problem with "goroutine" binding "m"

2022-07-23 Thread Benjamin Yim
Thanks. Ian Lance Taylor 于2022年7月23日周六 22:30写道: > > On Sat, Jul 23, 2022, 7:24 AM Benjamin Yim wrote: >> >> If I want to bind "goroutine" to "m" and run it. What are the more demanding >> issues I should need to consider? >> priority? Deadlocks? Performance? > > > There can be some performance

Re: [go-nuts] Is there FIX exchange trading server or client simulator project with Go

2022-07-23 Thread Robert Engels
github.com/robaho/go-trader implements a fix connector > On Jul 23, 2022, at 9:24 AM, 'michael yue' via golang-nuts > wrote: > > Is there FIX exchange trading server or client simulator project with Go > -- > You received this message because you are subscribed to the Google Groups >

Re: [go-nuts] problem with "goroutine" binding "m"

2022-07-23 Thread Ian Lance Taylor
On Sat, Jul 23, 2022, 7:24 AM Benjamin Yim wrote: > If I want to bind "goroutine" to "m" and run it. What are the more > demanding issues I should need to consider? > priority? Deadlocks? Performance? > There can be some performance costs, though usually not severe. There are no particular

[go-nuts] Is there FIX exchange trading server or client simulator project with Go

2022-07-23 Thread 'michael yue' via golang-nuts
Is there FIX exchange trading server or client simulator project with Go -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] problem with "goroutine" binding "m"

2022-07-23 Thread Benjamin Yim
If I want to bind "goroutine" to "m" and run it. What are the more demanding issues I should need to consider? priority? Deadlocks? Performance? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving