Skip to content

Commit 468582e

Browse files
committed
Update readme
1 parent 233f31f commit 468582e

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,26 @@ More editor related documentation is available in [the editor docs](https://kool
8787

8888
## Platform Support
8989

90-
| Platform | Backend | Implementation Status |
91-
|-------------|-------------|--------------------------------------------------------|
92-
| Desktop JVM | OpenGL | :white_check_mark: Fully working |
93-
| Desktop JVM | Vulkan | :white_check_mark: Fully working |
94-
| Desktop JVM | WebGPU | :sparkles: Mostly working (using the `wgpu4k` backend) |
95-
| Browser | WebGL 2 | :white_check_mark: Fully working |
96-
| Browser | WebGPU | :white_check_mark: Fully working |
97-
| Android | OpenGL ES 3 | :white_check_mark: Fully working |
98-
99-
**Supported desktop platforms are:**
90+
| Platform | Backend | Implementation Status |
91+
|---------------------|-------------|--------------------------------------------------------|
92+
| Desktop (JVM) | Vulkan | :white_check_mark: Fully working |
93+
| Desktop (JVM) | OpenGL | :white_check_mark: Fully working |
94+
| Desktop (JVM) | WebGPU | :sparkles: Mostly working (using the `wgpu4k` backend) |
95+
| Browser (JS + WASM) | WebGPU | :white_check_mark: Fully working |
96+
| Browser (JS + WASM) | WebGL 2 | :white_check_mark: Fully working |
97+
| Android | OpenGL ES 3 | :white_check_mark: Fully working |
98+
99+
### Supported desktop platforms
100100
- Windows (x64): Vulkan, WebGPU and OpenGL
101101
- Linux (x64): Vulkan, WebGPU and OpenGL
102102
- macOS (ARM + x64): Vulkan and WebGPU (no OpenGL)
103103

104+
### JS vs. WASM Performance
105+
106+
Kool supports plain JavaScript as well as WebAssembly (WASM) as browser targets. However, the WASM backend seems to be
107+
suffering from the many required JS-interop upcalls to various Web APIs. Therefore, in most cases, the WASM backend is
108+
actually slower than the JS backend, and plain JS stays the recommended target for now.
109+
104110
### Java Version
105111

106112
On Desktop, Kool currently uses Java 17 as the minimum language level except the `kool-backend-wgpu4k` module, which

0 commit comments

Comments
 (0)