@vaporeon_ i know of at least one somewhat popular npm library, a markdown parser, implemented in WASM compiled from C
@vaporeon_ LLVM does have a WASM backend, yes
@vaporeon_ the other day i found a video of a dude compiling bash to wasm to directly run bash scripts in the web browser
@aescling That's cursed, but also kind of funny
Imagine writing a website front-end in COBOL (transpiled into C by GNU COBOL, and then the C compiled into WebAssembly)
@vaporeon_ it was an apurril fool's joke except apparently it does just actually work.
@vaporeon_ the funny bit of it is that somehow the way he was building bash allowed him to write bash in the script tags. like
<script type="[i furget what he would put here exactly]">
echo hi mom
</script>
@aescling NPM
I will not install it on my computer
Though... doesn't LLVM have a WebAssembly backend, or am I misremembering? If I could compile C to WebAssembly without NPM stuff, I might be willing to try it.