Glad to know this. Thanks for the info. On Thu, Jan 16, 2020 at 8:35 AM Ralph Corderoy <ra...@inputplus.co.uk> wrote:
> Hi Tapir, > > > Do slice element modification operations check whether or not the > > modified elements are allocated on immutable zones? > ... > > //var Golang = strings.Join([]string{"Go", "lang"}, "") // not cause > panicking > > var Golang = "Golang" // causes > panicking > > Are you aware that memory pages may have permissions such as read-only, > and that some data may be allocated to those pages? Look up the address > of the data in /proc/$pid/maps. > > I think this topic belongs on golang-nuts; reply-to set. > > -- > Cheers, Ralph. > -- 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/CAHbs%3DNbQ0Yp7sOuDSwmMoQucLRtiFnu4jCyCVHfWMnYRX7%2BF_w%40mail.gmail.com.