Could you list 3 or 4 of them please?
Could you list 3 or 4 of them please?
I would consider this for a project where I already have Java code on the backend and rewriting it for the front end in JS is a bigger barrier than adding TeaVM to the stack.
By contrast, TeaVM is Apache-licensed, available for commercial use without any gotchas, limits, or entanglements.
Several use cases where TeaVM shines:
* A developer or team has strong Java skills and wants to develop single-page apps
* A Java desktop project wants to move to the web and has lots of validation logic they don't want to double-maintain in Java and ECMAScript/WASM
* A Java-based game developer wants to make a Canvas-based version of their game for the web (potentially full-screen)
* A Java developer wants a batteries-included framework for web development. TeaVM comes with a minifier, tree-shaker, packager, and more, out of the box, with familiar 'mvn clean install' semantics (And Gradle support too).
For more details on use cases and reasons for picking TeaVM, read chapter 1 of my book here: https://frequal.com/Flavour/book.html
* Grab B, some software that can run wasm [2].
* Run A on B.
Just one example, since this "algorithm" can generate endless combinations! You could create some game logic in Kotlin, Clojure or Scala, compile it to WASM, and run it on Taca [3] (a runtime for multimedia wasm apps that runs native and in browsers).
--
1: from TeaVM front page: "the source code is not required to be Java, so TeaVM successfully compiles Kotlin and Scala"
2: There are many projects out there embedding some WASM runtime, not just browsers.
(For the Python version see https://simonwillison.net/2024/Dec/10/chatgpt-canvas/)