30 ms·
>It's quite clear that TypeScript is going to be around forever. Why don't we just use this syntax for a systems language, and add a few constraints to make it
by deltasevennine 4y ago
>It's quite clear that TypeScript is going to be around forever. Why don't we just use this syntax for a systems language, and add a few constraints to make it low-level.
This is the essential point of your post, and I'm not completely sure why this can't/can be done. I can certainly name some reasons why it hasn't been done, but the actuality of the concept is separate from this. Nobody in this thread so far has answered your question.
I will say one thing though, if it is done it won't just a "few" constraints. It will be a huge amount of constraints and language feature changes. In the end my prediction is you will get something that is both significantly more challenging to deal with then typescript but simpler then C++.