4 ms·
Yet, type annotations are being discussed for JavaScript, eventually the browsers will be running Typescript.
by pjmlp 2y ago
Yet, type annotations are being discussed for JavaScript, eventually the browsers will be running Typescript.
- pphysch 2y agoThe browsers are already running anything via custom WASM interpreters, like Pyodide for Python.
- pjmlp 2y agoWith a huge performance hit and leaky abstractions.
- infamia 2y agoI thought I read somewhere that the Chrome team tried typed JS, found out that there was a performance hit, and they ended the experiment? Is this a continuation of that or a new effort? Sounds interesting.
- pjmlp 2y agoMaybe as part of the Flutter/Dart sales story? Here is the current status of the standard proposal. https://tc39.es/proposal-type-annotations/ https://tc39.es/proposal-type-annotations/