If I wanted to check if a given browser supported running Kotlin/WASM files, would it suffice to check if it supports wasm GC? (i.e. using a feature detector like this one) Or should I run any other checks as well?
Yes. Kotlin uses other post-1.0 wasm features, like exception handling, but in practice major browsers supported other features before GC.
a
Anthony
01/11/2024, 1:02 PM
Great, I figured as much, thanks for confirming!
j
Justin Salér
01/15/2024, 4:42 AM
Would it be possible to use a feature detector to create a website with Compose Canvas, that shows Compose Canvas Wasm/JS for browsers that support Wasm GC, and Compose Canvas JS for browsers that don’t support it?