DEV Community

Discussion on: The JavaScript Paradox

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ

WASM is still a bloat! Wait for the major compiler to support the component model. Most of the compiler we have now only think about producing single efficient executable but not thinking about chunking which is very crucial in web app/page. It will take a very~long~time™ for WASM to be usable as JS replacement. If you need performance then it's better to bet on compute shader use-cases in WebGPU rather than SIMD computation in WASM.

As for mini-programs, WASM might be very viable choice as long as the company define the standard interface for rendering their custom UI component.