And for the OP, there are atomics defined for strings - so what I referred you to is still valid.
> On May 26, 2019, at 4:21 PM, Robert Engels <reng...@ix.netcom.com> wrote: > > I said nothing to the contrary. I was referring to the structures the poster > discussed - which are not heap allocated within an array which differs from > Java objects. > > I think you would be better served by doing more reading and listening and > less yelling. > >> On May 26, 2019, at 3:25 PM, Wojciech S. Czarnecki <o...@fairbe.org> wrote: >> >> On Sun, 26 May 2019 13:50:13 -0500 >> Robert Engels <reng...@ix.netcom.com> wrote: >> >>> This is an advantage that Java offers over Go for concurrent programming. >>> Since everything is reference you don’t face this distinction. Which is why >>> most Go uses channels, which are implemented with locks. >> >> It would be good and fruitful to self educate a bit about Go language, in >> this >> case builtin type string [1], before throwing at a Go newcomer Java's >> concepts >> and ways as ones suitable for Go programming. >> >> FYI. In Go, type string **is a reference type**, it consists of a pointer to >> the >> (immutable) bytes array and a len field. >> >> P.S. To the vigil CoC enforcers: I consider your reprimand as already >> received:) >> Please note that I have used no forbidden t- and s-words, even if they would >> be more than appropriate. >> >> Sigh, >> >> [1] https://go101.org/article/string.html >> >> -- >> Wojciech S. Czarnecki >> << ^oo^ >> OHIR-RIPE >> >> -- >> 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 golang-nuts+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/20190526222528.152fa50e%40zuzia. >> For more options, visit https://groups.google.com/d/optout. > > -- > 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 golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/7A09BAC8-4B13-47F3-80BE-39121C4BCFC1%40ix.netcom.com. > For more options, visit https://groups.google.com/d/optout. -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/D9695649-1BF8-4359-A6E0-CBC2E70F96E7%40ix.netcom.com. For more options, visit https://groups.google.com/d/optout.