3 ms·
We are still waiting for proper arrays and string, or some form of fat pointers for the last 50 years. I doubt an ownership system will ever arrive. AT&T work
by pjmlp 2y ago
We are still waiting for proper arrays and string, or some form of fat pointers for the last 50 years.
I doubt an ownership system will ever arrive.
AT&T work on Cyclone ended up being picked by Rust instead of anyone at WG14 getting some inspiration for papers.
- uecker 2y agoIt is true, I feel pretty lonely in WG14 pushing these ideas sometimes. But it is not that we haven't made progress: When I joined there was only a vague understanding of of the memory model and provenance and even ideas how to make it less reliable in favor of optimization ("wobbly values") etc. We now a a good model for provenance, killed a lot of questionable ideas, strengthened semantics when there is UB (prior I/O is not affected), introduced checked arithmetic, started to eliminate UB from the language (this is ongoing but progressing well), made dependent array types a requirement with concrete plans to add a dependent structure type. On the compiler side tools are also evolving.
- pjmlp 2y agoI skimmed through those ideas for C2y, hope they make through.