Clojure in WebAssembly

Clojure is a functional programming language that is part of the Java/JVM ecosystem.

Available Implementations

The TeaVM can execute Java Bytecode inside of a WebAssembly runtime. Clojure is compiled to Java Bytecode.

We track Java Bytecode execution in the Java section of the WebAssembly Language Guide.

It is also likely that you can take Clojurescript, transform it to JavaScript (which is normal) and then use a Javascript Wasm tool. In this case, it should be possible to use the full Spin Javascript SDK within Clojurescript.

Learn More

Here are some great resources: