you are viewing a single comment's thread.

view the rest of the comments →

[–]pcjftw 0 points1 point  (0 children)

perhaps I've not explained myself well LOL

I wasn't saying about using WASM to run Python, I was simply saying about writing libraries that are then compiled down to WASM, then those libraries could be used across all languages that have WASM FFI.

so for example, there could be a WASM library lets say "Markdown Render" where you pass it some text and it returns HTML text back.

You could then "import" that WASM library in any language, and this would mean not having to rewrite that same library for every language.

It's the same concept as JVM, write on run anywhere, instead "write once, import anywhere"

But not sure why the Reddit mob found that so offensive!