'Can clojure/clojurescript compile down to webassembly?
Thinking about writing a game using web assembly. Is there a good way of doing that using Clojure or clojurescript?
Solution 1:[1]
Clojure compiles all functions to JVM bytecode. Clojurescript to javascript. You can't change that part.
But you can use .wasm files with clojurescript, just load it via regular js/WebAssembly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | Kaspazza | 
