zlacker

[parent] [thread] 2 comments
1. tzekid+(OP)[view] [source] 2025-08-22 12:45:15
I think it's because go's community sticks close to the standard library:

e.g. iirc. Rust has multiple ways of handling Strings while Go has (to a big extent) only one (thanks to the GC)

replies(2): >>adastr+dJ >>diarrh+6Z
2. adastr+dJ[view] [source] 2025-08-22 16:45:28
>>tzekid+(OP)
What does String/OsSfeing have to do with garbage collection?
3. diarrh+6Z[view] [source] 2025-08-22 18:08:02
>>tzekid+(OP)
> Rust has multiple ways of handling Strings

No, none outside of stdlib anyway in the way you're probably thinking of.

There are specialized constructs which live in third-party crates, such as rope implementations and stack-to-heap growable Strings, but those would have to exist as external modules in Go as well.

[go to top]