Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:No (Score 1) 187

Why do you propose to replace a JavaScript runtime with a byte code runtime?

The WebAssembly runtime is already in all browsers. WebAssembly achieves higher performance and brings all languages to the web.

would need a way to put a JavaScript to Web assembly tool into their tool chain

No. JavaScript is already in the browser. JavaScript will live on as a scripting language. Application development will continue with other languages.

Comment Re:No (Score 1) 187

The article is about replacing a heavy weight JS VM with a light weight one.

Yes, their time will be better spent optimizing WebAssembly and building out more WebAssembly infrastructure.

And the trolls hop around and yell: web assembly!

No troll. WebAssembly is the future. No point clinging to the JavaScript past.

Comment Re: No (Score 1) 187

Why would I not use Flutter for that (if it would work as promised)??

Of course you'd use Flutter. Dart and Flutter compile to WebAssembly for better performance: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Ftech.appunite.com%2Fblog...

And: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3F...

And: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3F...

Comment Re: No (Score 1) 187

You do not get higher performance.

Of course you do. Google got double the performance. They ported JavaScript to Java: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fweb.dev%2Fcase-studies%2Fg...

Amazon got double the performance. They ported JavaScript to Rust: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwww.amazon.science%2Fblo...

Write the same function in JavaScript and C and watch WebAssembly outperform JavaScript: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fjeromewu.github.io%2Fimp...

Introduces new bugs. For no reason.

Code reuse reduces bugs. Figma compiled their C++ engine to WebAssembly and they love it: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3F...

which language do you port it too? C?

Whichever language you want. WebAssembly brings all languages to the web.

Comment Re:no. (Score 1) 187

> *Web developers will instead have their JS/TS and their toolchain for compiling a typescript variant of Javascript to Webassembly for higher performance.*

Yes, WebAssembly brings all languages to the web. A compiled TypeScript can skip JavaScript and go straight to WebAssembly compilation.

> *And the sheer number of Javascript modules available through NPM, etc.*

In the WebAssembly component model, any module compiled from any language can by used by a module compiled from any other language.

Comment Re:No (Score 1) 187

It's not about power, it's about practicality. If you want a high performing, portable application running in the browser and on the server WebAssembly is the way to get it.

JavaScript has had 29 years, coming up to 30 years in December. It's been a good run for the Visual Basic of the web, but WebAssembly is here now. WebAssembly is simply a better way to build.

No need to get emotional about it.

Comment Re: No (Score 1) 187

Everyone wants higher performance. WebAssembly gets it for you.

It's why Amazon shifted to WebAsembly for Prime Video: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwww.amazon.science%2Fblo...

It's why Google is shifting to WebAssembly for Google Sheets: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fweb.dev%2Fcase-studies%2Fg...

It's why WebAssembly is a better fit for serverless functions: https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fthenewstack.io%2Fshould-...

No point hanging on to the past. Embrace the future.

Comment Re: No (Score 1) 187

No, you haven't understood. With Leptos you can write the application in Rust without JavaScript. You don't need to touch the glue code.

When WebAssembly gets direct DOM access the glue code generation will be removed from the Leptos framework but your application source code won't change.

When JavaScript's claim to fame is a reduction to boilerplate glue code that you don't need to think about then that speaks to JavaScript's futurelessness as an application development language. JavaScript will stick around as a scripting language for small things. It's what JavaScript is best at.

Slashdot Top Deals

"May the forces of evil become confused on the way to your house." -- George Carlin

Working...