3 ms·
The compiled 'mess' that is shipped in the runtime is mostly due to SystemJS, not TypeScript - it doesn't handle modules, and compiles to very clean code if you
by ricardobeat 6y ago
The compiled 'mess' that is shipped in the runtime is mostly due to SystemJS, not TypeScript - it doesn't handle modules, and compiles to very clean code if you target a recent ES version. I'm confused as to how dropping TS will help with the code emitted for modules.
- wereHamster 6y agoIs SystemJS still a thing? What's their point now that browsers support ESM natively?
- untog 6y agoDeno != browser
- wereHamster 6y agoI know that. What eludes me is what advantages SystemJS brings over ESM, for browser runtimes and server runtimes (node, deno)…
- untog 6y agoIIRC SystemJS can be used without any transpilation at runtime. ESM cannot (unless natively supported of course, like it is in browsers)
- TheDesolate0 6y agoJavascript just needs to die like flash.