Golang
Last updated
Was this helpful?
Last updated
Was this helpful?
Google, Uber Twitch, Slack,
OpenSource - https://github.com/facebookincubator/dhcplb
Jobs
Jobs
Jobs
Generics were finally added to Go in version 1.18.
Everything in Go is passed by value, slices too. But a slice value is a header, describing a contiguous section of a backing array, and a slice value only contains a pointer to the array where the elements are actually stored. The slice value does not include its elements (unlike arrays).
https://stackoverflow.com/questions/39993688/are-slices-passed-by-value
go garbage collector simulation - https://go.dev/doc/gc-guide