Re: [go-nuts] Type Parameters Proposal: constraint.Number should be replaced with constraints.Integer in the examples

2022-01-21 Thread Ian Lance Taylor
On Fri, Jan 21, 2022 at 7:30 AM Manlio Perillo wrote: > > There is a typo in the List[T].Range method, in > golang.org/design/43651-type-parameters#list-transform. > The return type is *Iterator[T] but Iterator[T] is returned, instead. Thanks again, fixed. > Another issue is the implementation

[go-nuts] Re: Writing SIMD ASM

2022-01-21 Thread Greg Lowe
> If you want to use some of the instructions as soon as possible I can wait, and workaround with hardcoded words in the meantime. > I'm working on these issues. Glad to know that this is tracking along. I'm looking forward to trying out SVE on Graviton 3. On Friday, January 21, 2022 at 3:57:

[go-nuts] Re: Intentionally omitting requires in go.mod - alternative to multi-module repository?

2022-01-21 Thread 'Bryan C. Mills' via golang-nuts
On Thursday, January 13, 2022 at 12:45:13 PM UTC-5 rhcar...@gmail.com wrote: > Hello fellow Gophers! > > I help maintain an SDK module > that includes > packages that provide middleware to different web frameworks (e.g. echo >

Re: [go-nuts] Re: golang-announce is blocked in Google Groups?

2022-01-21 Thread Roland Müller
Same applies for me. Most of mail for this group would be moved to 'Spam'. Only a custom rule prevents that to take place. Am Fr., 21. Jan. 2022 um 20:31 Uhr schrieb Bruno Albuquerque : > FWIIW, the same happens here. When creating a filter (assuming one is > using GMail) you can tell it to never

Re: [go-nuts] Performance of syscall calls vs. CGO

2022-01-21 Thread Ian Lance Taylor
On Fri, Jan 21, 2022 at 2:06 AM Sean wrote: > > I'm currently using Cgo heavily for a game. But microseconds don't > matter to me. The calls must not exceed milliseconds, and it all depends > on the C api I wrote. > I'm currently in testing and development, there doesn't seem to be a > problem now

Re: [go-nuts] Re: golang-announce is blocked in Google Groups?

2022-01-21 Thread Bruno Albuquerque
FWIIW, the same happens here. When creating a filter (assuming one is using GMail) you can tell it to never send emails that match the filter to Spam and that6 is what I ended up doing. On Fri, Jan 21, 2022 at 8:43 AM Peter Aronoff wrote: > On Thu, Jan 20, 2022 at 2:35 PM Ian Lance Taylor wrot

Re: [go-nuts] Re: golang-announce is blocked in Google Groups?

2022-01-21 Thread Peter Aronoff
On Thu, Jan 20, 2022 at 2:35 PM Ian Lance Taylor wrote: > On Thu, Jan 20, 2022 at 4:51 AM peterGo wrote: > > > > Jochen, > > > > I get that message too. > > > > https://groups.google.com/g/golang-announce > > > > Google is also trying to lock me out of my gmail accounts, but they do > that all t

Re: [go-nuts] Type Parameters Proposal: constraint.Number should be replaced with constraints.Integer in the examples

2022-01-21 Thread Manlio Perillo
There is a typo in the List[T].Range method, in golang.org/design/43651-type-parameters #list-transform. The return type is *Iterator[T] but Iterator[T] is returned, instead. Another issue is the implementation of Ab

[go-nuts] Re: Go doc examples from the command line?

2022-01-21 Thread Sean Liao
nope https://github.com/golang/go/issues/26715 On Friday, January 21, 2022 at 11:38:19 AM UTC+1 steve@gmail.com wrote: > I've been using, for example. "go doc -all encoding/csv" to display > docs from the command line. > > Is there any of displaying the code examples visible from the go.dev >

[go-nuts] Go doc examples from the command line?

2022-01-21 Thread Steve Mynott
I've been using, for example. "go doc -all encoding/csv" to display docs from the command line. Is there any of displaying the code examples visible from the go.dev site from the command line for a particular package in the std lib? -- Steve Mynott rsa3072/629FBB91565E591955B5876A79CEFAA4450EBD

Re: [go-nuts] Performance of syscall calls vs. CGO

2022-01-21 Thread Sean
Hello Ian, Thank you for the answer. I'm currently using Cgo heavily for a game. But microseconds don't matter to me. The calls must not exceed milliseconds, and it all depends on the C api I wrote. I'm currently in testing and development, there doesn't seem to be a problem now but I don't k

Re: [go-nuts] Re: golang-announce is blocked in Google Groups?

2022-01-21 Thread Jochen Voss
Same here, the problem seems to have gone away. On Thursday, 20 January 2022 at 19:37:54 UTC seank...@gmail.com wrote: > For me it did show as blocked a few hours earlier but works now > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "golang-nuts" gr