News for hackers. Stuff that matters.
Re:Making a Go program 70% faster with a one character change by throwaway894345 on Monday November 14, 2022 @03:11PM (#33600241)
> I will say though that some newer languages seem to have a confused idea about how to offer mixed semantics. A bunch of them tie semantics to types.

Curious about what you mean here. This sounds like C#'s class/struct distinction to me.

Re:Making a Go program 70% faster with a one character change by cbsmith on Monday November 14, 2022 @05:18PM (#33602083)
That's exactly the example I was thinking of.
Re:Making a Go program 70% faster with a one character change by throwaway894345 on Monday November 14, 2022 @06:16PM (#33602784)
Yeah, I never cared for that. Specifically, I'd prefer that everything was just "struct", but structs could implement interfaces, which is essentially the Go/Rust model.