The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> WebAssembly becomes a W3C Recommendation
Christian J
post Dec 8 2019, 11:02 AM
Post #1


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



Following HTML, CSS and JavaScript, WebAssembly becomes the fourth language for the Web which allows code to run in the browser:
https://www.w3.org/2019/12/pressrelease-wasm-rec.html.en

Recent Study Estimates That 50% of Websites Using WebAssembly Apply It for Malicious Purposes:
https://www.infoq.com/news/2019/10/WebAssem...alicious-usage/




User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 4 2020, 10:28 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



I had missed this thread. I, of course, blame the forum since as everyone knows I am impeccable. cool.gif

I looked a little at https://webassembly.org/ . Does this thing really run in the browser? unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 4 2020, 10:32 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Uh, partly, I guess. This sounds complicated and makes me think of Java applets.

CODE
A JavaScript API is provided which allows JavaScript to compile WebAssembly modules, perform limited reflection on compiled modules, store and retrieve compiled modules from offline storage, instantiate compiled modules with JavaScript imports, call the exported functions of instantiated modules, alias the exported memory of instantiated modules, etc.

https://webassembly.org/docs/web/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 5 2020, 07:42 AM
Post #4


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



What's not clear to me is if browser users will be able to decompile and inspect the code, or if we're just supposed to accept running unknown programs from web sites?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 5 2020, 08:07 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



If they have a decompiler. And if it's possible to download the compiled program (or whatever it is). unsure.gif

Here you have it, WebAssarmbly to C decompiler. So one assumes the compiled things are written in C then. wacko.gif
https://github.com/wwwg/wasmdec
From the look of it I think you also need Linux or similar.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 5 2020, 12:01 PM
Post #6


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



Found this:

QUOTE
Will WebAssembly support View Source on the Web?

Yes! WebAssembly defines a text format to be rendered when developers view the source of a WebAssembly module in any developer tool. Also, a specific goal of the text format is to allow developers to write WebAssembly modules by hand for testing, experimenting, optimizing, learning and teaching purposes.
https://webassembly.org/docs/faq/

Of course you need to understand the source you're viewing as well...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 5 2020, 09:21 PM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Yeah, but that goes for the existing three languages as well. Most people don't.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 6 2020, 07:24 AM
Post #8


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



True, but a lot more understand at least a little HTML.

Also it seems WASM is intended for very large script files, making it even harder to decipher even if you know the language. But of course that problem already exists with to today's javascript libraries. Better to block all of it from even downloading.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 02:46 AM