Hacker News new | ask | show | jobs
by pjmlp 1575 days ago
Never used unsafe and raw pointers in C#? They exist since version 1.0.

Never used ArraySegments in C#? They exist since version 2.0

Abtracting over float/doubles is called generics.

1 comments

It is not the same thing at all if you care to compare the details. C# pointers come with a long list of caveats which does not apply in Go. They feel like a bolted on escape hatch rather than a real part of the language.
Moving goal posts, so now instead of not existing, they come with caveats.