Languages like Kotlin, Scala, and OCaml also target Wasm GC now.
Languages like Kotlin, Scala, and OCaml also target Wasm GC now.
golang on the back-end - golang in the browser.
https://github.com/google/j2cl
Java everywhere.
Also j2objc
https://github.com/google/j2objc
Write the logic in java and get it on iOS, web and android.
Is this a case of worse-is-better? I think so.
A huge value prop for early (pre-1.5) Java was sandboxing, but it ended up being clunky, frustrating, and too slow for the browsers / dial-up modems of the era and lost its chance to be the sandbox of choice - leaving the door open for Javascript to win as the world's most widely deployed sandbox.
While I look forward to being able to use things other than Javascript or languages seriously confined to Javascript's basic semantics in the frontend, I expect Go to be a laggard because it's going to be hard to get it to not generate relatively large "executables". I expect other languages to be the "winners" in the not-JS-frontend race.
Edit:
I'm not familiar with scheme/guile (only dabbled with Racket and later Clojure).
Are these real bytes that behave like actual bytes when you manipulate their bits (unlike Java etc.) and are stored as actual bytes?
https://www.gnu.org/software/guile/manual/html_node/Bytevect...