News for hackers. Stuff that matters.
Re:Improving the usability of C libraries in Swift by dagmx on Friday January 23, 2026 @09:50AM (#46733149)
Your question as stated is exactly why there are so many pointer types.

Is it a pointer to raw memory or a pointer to a type? Does it have a known size? Should it be allowed to be changed?

These are all questions you have to answer in C but cannot without annotations or documentation. Languages with more expressive type systems need to map that ambiguity to something.

There are no comments on this comment yet.