Hacker News new | ask | show | jobs
by smitty1e 2381 days ago
Right, but will We Assembly be a JS killer?

If I can stay in Python and target the browser without the fuss and bother of JavaScript, why would I?

5 comments

WASM won't kill JavaScript because there is a whole generation of programmers that actually prefers it to Python etc. and goes out of their way to use it (nodejs).

There are also more technical reasons like WASM not being able to access DOM.

There's already a transpiler to compile python to Javascript. The question is: why would you want the hassle to add that tool to your pipeline and the added complexity of debugging your frontend code?
Nothing prevents you from compiling your Python code to JavaScript blob and run it without really bothering with JavaScript. You don't need wasm for that.
JavaScript and Python can't match performance, scalability, security, rich libraries for developing enterprise applications that comes with Java Ecosystem.
You might not, but JS is popular enough for many developers to continue using it.