I was just thinking about this today. How great would it be if we could write native code in TS syntax. Everyone knows it and it's easy to learn. It would mean that TS would be the only language you ever need to learn. TS is going to be here forever. I do believe this is the future.
Every new language comes with great new features, but then layers some weird new syntax over the top, as if it's doing it just to be different, or avoiding being too similar too JS because it wouldn't get approval from the hardcore language crowd. I get how it's fun to play with something new, and get that rush as things slowly start to click, but I'd rather just build stuff.
I was always thinking: what are the minimal changes you need to make to TS code to have it run natively with a borrow-checker. If someone did this, you would then have the entire JS dev community writing performant native code, and we could have a quantum leap in performance of everything.
Every new language comes with great new features, but then layers some weird new syntax over the top, as if it's doing it just to be different, or avoiding being too similar too JS because it wouldn't get approval from the hardcore language crowd. I get how it's fun to play with something new, and get that rush as things slowly start to click, but I'd rather just build stuff.
I was always thinking: what are the minimal changes you need to make to TS code to have it run natively with a borrow-checker. If someone did this, you would then have the entire JS dev community writing performant native code, and we could have a quantum leap in performance of everything.
And now it turns out someone has. Kudos!