Maja changed the topic of ##bash-crimes to: we bash back | club of folks preoccupied in whether they could, not whether they should | logs https://libera.irclog.whitequark.org/~h~bash-crimes
<irth> it'd be cool to also have a bash runtime in WASM
<irth> there is some prior art with busybox compiled to wasm
<irth> with processes implemented as webworkers
<irth> but they're very outdated
<irth> then http.sh could have a frontend counterpart
jn has quit [Ping timeout: 268 seconds]
jn has joined ##bash-crimes
jn has joined ##bash-crimes
<cve> there is in fact much cool software that has WASM targets :^)
<irth> I generally meant to use it not as a shell in-browser, but to script DOM on webistes :D
<Maja> jn: hm, that could be slow... unless you JIT it
<Maja> I wonder if enable -f <(printf "%b" "$jit_so") would work :P
<Maja> ngl this is making me have the normalest of thoughts
<Maja> ("we should build reusable compiler infrastructure (think LLVM, cranelift, etc) in bash")
<Maja> I should finally write a readme for cursedcc and release it into the world
<Maja> not that it'll be any useful for the wasm idea, the codegen part of that is absolutely dogshit
<Maja> all the effort went into implementing C semantics because that was my preferred form of masochism at the time