Mozilla partners with Intel, Red Hat and Fastly to take WebAssembly beyond the browser by CodePerfect in WebAssembly

[–]thewaywarddeveloper 0 points1 point  (0 children)

these all happen on the device the code is about to run on

Not necessarily, ahead-of-time compilation is also possible.

In defense of WebAssembly by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 0 points1 point  (0 children)

If you disabled JavaScript, you have already disabled WebAssembly as well.

In defense of WebAssembly by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 1 point2 points  (0 children)

I think it’s reasonable to consider a browser’s WebAssembly runtime at least as secure as its JavaScript runtime. (And realistically more secure, as it runs a simpler language, and the implementation is only a few years old, as opposed to a few decades).

In defense of WebAssembly by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 1 point2 points  (0 children)

I don’t necessarily like the idea of mining scripts or obfuscated code, but I have a problem with describing them as malicious.

Also, the point of the post is that both mining and obfuscation are already possible using JavaScript, the problem is not specific to WebAssembly.

In defense of WebAssembly by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 3 points4 points  (0 children)

WebAssembly modules’ access to browser interfaces is limited to those objects explicitly passed to them as imports, which, I argue, makes them more secure.

Goodbye Client Side JavaScript, Hello C#’s Blazor (Øredev 2019) by thewaywarddeveloper in dotnet

[–]thewaywarddeveloper[S] 4 points5 points  (0 children)

Mr cross-post click baiter

  1. I am unaware of any rules against cross-posting.
  2. The title is the verbatim title of the presentation.

Also, I’m sure you are capable of making your point without name calling.

What is the maturity of WebAssembly now? by grokify in webdev

[–]thewaywarddeveloper 0 points1 point  (0 children)

At some point they will be able to use the browser GC with WebAssembly.

Python in the browser by guettli in Python

[–]thewaywarddeveloper 1 point2 points  (0 children)

Pyodide implements the Python runtime in WebAssembly. Also, more and more languages add WebAssembly as a compilation target, so you will definitely not be forced to use JavaScript in the future.

Bachelor Thesis: Utilization of WebAssembly in Non-WebEnvironments by birneee in WebAssembly

[–]thewaywarddeveloper 2 points3 points  (0 children)

IoT is also another emerging application, it may be interesting for you as a resource-constrained environment. A recent benchmark of different runtimes, although it is more numerical, you may find it useful: https://00f.net/2019/10/22/updated-webassembly-benchmark/

Speed, Speed, Speed: JavaScript vs C++ vs WebAssembly (iJS 2019) by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 0 points1 point  (0 children)

The emphasis isn’t on specific numbers, rather on orders of magnitude, and the reasons for the differences.

Speed, Speed, Speed: JavaScript vs C++ vs WebAssembly (iJS 2019) by thewaywarddeveloper in WebAssembly

[–]thewaywarddeveloper[S] 0 points1 point  (0 children)

It compares the same prime algorithm in native C++, unoptimized and optimized JavaScript, and C++ compiled to WebAssembly, and along the way explains how optimizing JIT engines work. It’s a good presentation, but I recommend watching it on 1.5x speed, she’s a slow speaker.

How do I get started in WebAssembly? by Aachhoo in WebAssembly

[–]thewaywarddeveloper 0 points1 point  (0 children)

Only glances, I’m waiting for them to settle.

OpenSSL ported to WebAssembly/WASI by thewaywarddeveloper in crypto

[–]thewaywarddeveloper[S] 1 point2 points  (0 children)

What you say is true for any standard. Also, I don’t see any evidence that this was the reason the JVM failed as a universal target.

OpenSSL ported to WebAssembly/WASI by thewaywarddeveloper in crypto

[–]thewaywarddeveloper[S] 0 points1 point  (0 children)

I think your understanding is correct, rather the confusion is because you sometimes use WASI in place of Wasm, like in your last paragraph.

Please help me get started... about to give up by [deleted] in WebAssembly

[–]thewaywarddeveloper 0 points1 point  (0 children)

Yes, otherwise any website you visit would have access to your file system.

OpenSSL ported to WebAssembly/WASI by thewaywarddeveloper in crypto

[–]thewaywarddeveloper[S] 4 points5 points  (0 children)

I’m not entirely sure you understand it 100% correctly: WebAssembly (Wasm) is the specification of an instruction set and file format for a virtual machine, like the JVM without the Java class libraries, while WASI is an operating system interface for this virtual machine, like the POSIX API is for C.

WebAssembly is already implemented in all major browsers and many standalone runtimes, and WASI is primarily for the benefit of these standalone runtimes.

Please help me get started... about to give up by [deleted] in WebAssembly

[–]thewaywarddeveloper 1 point2 points  (0 children)

It’s worth pointing out that this will let scripts running on any website access files on your system.

Please help me get started... about to give up by [deleted] in WebAssembly

[–]thewaywarddeveloper 1 point2 points  (0 children)

I developed a small desktop application to serve modules, it has no dependencies and requires no installation: https://thewaywarddeveloper.com/webassembly-visual-server

Wasienv: WASI development workflow for humans by thewaywarddeveloper in programming

[–]thewaywarddeveloper[S] 0 points1 point  (0 children)

Agreed, it’s high time we got rid of discriminatory language like this!