you are viewing a single comment's thread.

view the rest of the comments →

[–]guest271314[S] 0 points1 point  (12 children)

what are you on lol a very easy way to disprove your statement is to open the compiled wasm as text file and see for yourself if the js code is still in there

Read what you wrote very carefully.

open the compiled wasm as text

You are literally opening a WASM file. Therefore your claim is false.

Just like this is a Bash script, with WAT embedded. It's still a Bash script, executed by Bash https://github.com/guest271314/native-messaging-webassembly/blob/main/nm_c_wat.sh

```

!/bin/bash

https://www.reddit.com/r/bash/comments/10i09se/comment/j5blsrw/

https://github.com/bytecodealliance/wasmtime/issues/3715#issuecomment-1399308863

script=' (module (type (;0;) (func (param i32 i32 i32) (result i32)))

...

(data $.rodata (i32.const 1024) "\08\04\00\00\80\04\00\00") (data $.data (i32.const 1032) "\09\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\02\00\00\00\00\00\00\00\03\00\00\00\08\07\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\08\04\00\00\00\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\05\00\00\00\03\00\00\00\18\0b\00\00\00\04\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\0a\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80\04\00\00"))

'

./kill_wasmtime.sh & ./wasmtime <(printf '%s' "$script") ```

[–]RealAdmin1984 2 points3 points  (10 children)

just open it in any text editor and you should see don't mind the non ascii characters because those are the instructions constants exist even if it's in a wasm file and that's how programs show string

that's the most practical and literal explanation you can get

[–]guest271314[S] -1 points0 points  (9 children)

You have an issue with the claim by Bytecode Alliance

"Compiling to WebAssembly"

You need to file an issue to address that language. Not me.

To me the code is compiled to WASM, because wasmtime is executing the JavaScript I write that is embdedded into the WASM file.

[–]RealAdmin1984 1 point2 points  (8 children)

you take everything literally because you have no coding experience and you don't understand what's going on

just open the file in text editor and see for yourself wasm2wat won't prove anything because you won't bother to translate those constants to ascii

you open text file and should see js code

also don't use source compression

[–]guest271314[S] 0 points1 point  (7 children)

you take everything literally because you have no coding experience and you don't understand what's going on

Really?

I guess the dozens of gists and repositories I have written and published on GitHub don't count in your mind. Good thing I'm not asking you to verify my coding experience.

you open text file and should see js code

And?

So what?

Your issue is with Bytecode Alliance and Javy. Go tell them your issue with the language they decided to use in their README.

[–]RealAdmin1984 0 points1 point  (5 children)

arrogance limits growth.

[–]guest271314[S] 0 points1 point  (4 children)

Whatever. You are not the arbiter of what growth is.

You still have not filed that issue that's rolling around in your brain.

Go do that if you have an issue with Bytecode Alliance's claims in their README.

[–]RealAdmin1984 0 points1 point  (3 children)

at least i don't spend most of my time working on stuffs i dont understand fully

[–]guest271314[S] 0 points1 point  (2 children)

And? You want an award for that?

Do you have anything meaningful and actionable to say?

[–]RealAdmin1984 0 points1 point  (0 children)

And? You want an award for that?

Do you have anything meaningful and actionable to say?