Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 1.45 KB

clojure.md

File metadata and controls

36 lines (25 loc) · 1.45 KB

date = "2023-10-26T00:23:27Z" title = "Clojure in WebAssembly" description = "Clojure can be compiled to WebAssembly via TeaVM." tags = ["language", "webassembly"] template = "page_lang"

[extra] author = "Fermyon Staff"

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: