Re:WelsonJS: Build a Windows app on the Windows built-in Jav...
by hactually on Thursday August 22, 2024 @11:32PM
(#41325987)
I'm sorry... high performance JavaScript/Typescript?
Re:WelsonJS: Build a Windows app on the Windows built-in Jav...
by jonathanlydall on Friday August 23, 2024 @01:09AM
(#41326342)
I don’t think your comment could be interpreted as anything other than snarky and rhetorical.
Nevertheless, it is of course very well known that efficient code in JavaScript will never run as fast as in a language such as C, but choice of language is a trade off, and in whatever language you choose you may also choose to be as “high performance” as possible within it even if it’s still not as performant than if you’d chosen a different language.
Obviously this doesn't apply to existing projects; you're grandfathered into the language barring a pretty big undertaking to move over, but if you go to any competent company doing modern web development on relatively new codebases, they will use TS over JS.
And if they don't, as an engineer, you should ask hard questions as to why not. Because if the answer is someone stuck in the early 2000s complaining about OO and strong typing not being needed, then that's completely missing what TS does (and especially what it did when it was released, which was pre-ES5) and how big of an impact it has to speeding up development.