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.