Running WebAssembly from Windows 10 or * Linux
First off lets start off with facts. Java, last I checked, if you download the official JDK, can be run from Linux or windows, with "java helloWorld". That would run the Java bytecode program helloWorld.class, which is assumed to come from helloWorld.java.
From official sources, can you do that with web assembly? What command would it be, and would it be cross platform, the same? I'm trying to find out so I can, in a way, "hook onto it". Nothing malicious. |
You are probably going to have to read the docs.
https://developer.mozilla.org/en-US/docs/WebAssembly https://www.w3.org/community/webassembly/ https://www.w3.org/wasm/ https://webassembly.org/docs/faq/ https://www.webassembly.fr/en/ |
Is WebAssembly still "a thing?" I thought it had pretty much died off from neglect.
|
Thanks! I'll read those links, and come back here if I don't understand them. I'm new to that concept and didn't know about those.
Quote:
Actually, the first I heard of web assembly, and back before I was as experienced with things, especially programming, I was trying to solve some programming issues besides this question. I won't link it, but that was the first I heard of it. ...Had to stop myself from senseless rambling... LOL So I'll read the docs now that I know about them. Thanks! |
It still amazes and puzzles me that modern-day web technology is still based on languages that are interpreted from source-code ... and that attempts to improve the speed of JavaScript (why did the winner turn out to be JavaScript ...?) using esoteric things like "just-in-time compiling to machine code on the user side."
We abandoned Adobe Flash® and refused to integrate anything like it into browsers. Instead, we packed HTML (sic ...) full of esoteric graphics features. And now we are left with "JavaScript libraries" that are megabytes long. The "hideous complexity" of all of this makes utterly no engineering sense to me. |
Quote:
As for WebAssemby, not quite as easy as one would think. There is a nice little book called 'The Art of WebAssembly' that will get you started though if you really want to dig into the language. Quote:
|
So, I couldn't find anything about running from the command line. Awhile back though, I saw what looks like an unofficial way. Just run the javascript produced by the c++ compiler for wasm. Run it from command line instead of putting it in the browser with HTML. I guess that's the only way to do it. So I guess, thread sovled.
Basically, I wanted to give it a fair chance and create a hook for it in my language I've almost got objects in. Looks like it's not going to happen. |
All times are GMT -5. The time now is 05:38 AM. |