3 ms·
Rust syntax is a bit more refined than just "a new convoluted syntax that a single dev happened to like." You can't just add pointers to TypeScript to create a
by AnimalMuppet 4y ago
Rust syntax is a bit more refined than just "a new convoluted syntax that a single dev happened to like."
You can't just add pointers to TypeScript to create a systems language. You also have to remove garbage collection. (Because how are you going to do hard real time, and write custom memory allocators, with a garbage collector in the way?) And then you have to do that in a consistent way, and preferably in a way that doesn't invite the programmer to make mistakes. (Introducing pointers introduces a lot of new ways to make mistakes. A good systems language should help the programmer not make them.) This leaves you needing to do a lot more modifications to the language than just introducing pointers.