Comments by "p11" (@porky1118) on "why rust libraries may never exist." video.
-
Sounds like a new C would actually be useful.
I would call it T, and it has different syntax than C, similar primitive types as Rust (common number types, arrays, tuples and fat pointer slices).
No compile time execution, no generics. One directional type inference (let x = ..., typeof x would be obvious from the argument result).
Also fixed call order if the calls have side effects, and probably immutable by default.
Maybe also a simpler pointer logic. I hate auto deref ONLY when using the dot operator. But the -> operator is also annoying.
So I'd either use the Scopes reference logic for pointers (if a is a pointer, a.b is a pointer, if a is a valuae, a.b is a value) or the Penne reference logic (if a is a pointer, it will just be used as if it wasn't a pointer. You have to do &a or &&a if it should stay a pointer; same for a.b).
1