Re: [go-nuts] How to try out the new range func CL in a module

2023-08-20 Thread 'Axel Wagner' via golang-nuts
Hm. For me, it still enables the rangefunc experiment, even though go.mod says go 1.21: mero@vetinari ~/tmp/x$ gotip version go version devel go1.21-ca691a8566d Tue Jul 18 10:30:20 2023 -0400 (w/ rangefunc) linux/amd64 mero@vetinari ~/tmp/x$ cat go.mod module x go 1.21 mero@vetinari ~/tmp/x$ cat

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread Amnon
IDE is indeed a personal choice. The Go developer survey often asks which IDE people use. Last year, the favourite was VS code with 45% of users, followed by Goland with 34%. On Sunday, 20 August 2023 at 17:38:26 UTC+1 burak serdar wrote: > On Sun, Aug 20, 2023 at 1:52 AM TheDiveO wrote: > >>

Re: [go-nuts] Is atomic.CompareAndSwap a read-aquire (even if it returns false)?

2023-08-20 Thread burak serdar
Based on the following description in the memory model, CAS counts as a read: "Some memory operations are read-like, including read, atomic read, mutex lock, and channel receive. Other memory operations are write-like, including write, atomic write, mutex unlock, channel send, and channel close.

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread burak serdar
On Sun, Aug 20, 2023 at 1:52 AM TheDiveO wrote: > well, our "(major) engineering orgs" leave the choice of IDE to our devs. > Devs have different styles, so as long as they meed the demand, who cares. > I second that. IDE is a personal choice. For years, I've been using Emacs to edit code, and

[go-nuts] custom coverage report

2023-08-20 Thread Vasiliy Tolstov
Hi. I have service centric tests - so i want to test not each function inside application, but only it handlers (defined via protobuf) Also i have custom framework that runs each test like - start grpc server, and call it via predefined json based files, and compare results. I want to measure

[go-nuts] Is atomic.CompareAndSwap a read-aquire (even if it returns false)?

2023-08-20 Thread Antonio Caceres Cabrera
Hi Gophers, I have a question about a more subtle part of the language, the memory model regarding atomic operations. The memory model doc on go.dev states: >If the effect of an atomic operation *A* is observed by atomic operation *B*, then *A* is synchronized before *B*.[...] I.e. "observing

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread Robert Engels
Depends on the size of the org. If you encourage pair programming on even “active code review” - not having a standardized ide it a problem. Also larger org add in their own tooling integrations - and doing that for multiple IDEs is not cost effective. > On Aug 20, 2023, at 2:52 AM, TheDiveO

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread Robert Engels
MIT = “that education place” is pretty funny. But you’re spot on. > On Aug 20, 2023, at 2:51 AM, TheDiveO wrote: > > That education place has never talked to any employer, that's what their > list suggests. It's not about the items on this list. It won't ever correct. > But it is basically

[go-nuts] Re: Best IDE for GO ?

2023-08-20 Thread Christoph Berger
*> What I'm looking for is the ability to manage dependencies not only in code, but entirely in a project from requirements to deployment.* I read two different aspects/levels from your question. The first half sounds like you want a graphical/GUI equivalent of go mod for Go dependency

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread TheDiveO
well, our "(major) engineering orgs" leave the choice of IDE to our devs. Devs have different styles, so as long as they meed the demand, who cares. On Saturday, August 19, 2023 at 11:17:35 PM UTC+2 Robert Engels wrote: > Reread what I wrote. Vim with autocomplete, etc is not a simple text >

Re: [go-nuts] Best IDE for GO ?

2023-08-20 Thread TheDiveO
That education place has never talked to any employer, that's what their list suggests. It's not about the items on this list. It won't ever correct. But it is basically saying that with one or a few more classes you're ready for your job. That's marketing selling. Depending on the job there's