3 ms·
The DOM is what you want to interact with most of the time…
by xigoi 8mo ago
The DOM is what you want to interact with most of the time…
- flohofwoe 8mo agoOnly for traditional webpages, and for those JS/TS is perfectly fine but the web platform is much more than the DOM. Once you build a web app via the DOM any sort of performance doesn't matter anyway because the DOM is slow by design, manipulating the DOM from WASM won't magically make an inherently slow system fast.
- xigoi 8mo ago> Only for traditional webpages, and for those JS/TS is perfectly fine I hate JavaScript and don’t want to use it at all. I want WebAssembly to allow me to write “traditional” webpages using a different scripting language.
- flohofwoe 8mo ago> I hate JavaScript ...it's just another tool in the programmers toolbox? Right tool for the job etc... Also for anything non-trivial just use Typescript which is actually a decent language.
- xigoi 8mo agoIt’s not the right tool for the job if, for example, you need a tuple-indexed hashmap, which I needed for a web app recently. TypeScript does not help, it’s just a layer on top. Also I hate the inconsistent syntax and the footguns inherited from C, such as fallthrough in switch statements.