GraalVM announced preliminary WASM target #1023
Replies: 2 comments
-
|
Yes, I know.
TeaVM Wasm GC does not have threading yet as well. And JS version does not support fair threading, but emulation over coroutines.
Sure they mean AWT. They provide some interop API (
And they don't need it. If you have Wasm GC target, why would you need JavaScript? I also was going to drop JS BE eventually (not quite soon yet). I would add my points:
Anyway, I'm afraid TeaVM won't survive after this. I see all these "wow, at last we can run Java in the browser", as if it was not possible all these years. Being a large company is always a winning strategy. Also I'd mention that once I attempted to get a job in GraalVM team and got a refusal because "I'm not good enough". So what do "good enough" guys do? With all possible support, full-time job of several employees they end up with a tool that produces 1MB Hello World? |
Beta Was this translation helpful? Give feedback.
-
|
You should feel proud of TeaVM, Alexey! I posted about GraalVM mainly to "know thy enemy". I still think TeaVM is better in just about every respect, and I gave many examples. My donations continue and I hope you stay excited about this incredible project. I use numerous TeaVM-powered apps every day. Many Java to JavaScript AOT tools have come and gone, yet TeaVM still stands strong! Look at this trail of would-be competitors, now idle or fading compared to TeaVM's 2.8k stars:
I will keep evangelizing for TeaVM. I know others here will too. Thank you, Alexey! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The GraalVM team demoed Java bytecode to WASM compilation at wasm.io, via their 'native-image' tool. The slides are here: https://2025.wasm.io/slides/the-future-of-write-once-run-anywhere-from-java-to-webassembly-wasmio25.pdf
To me, Slide 7 shows just how much work they still have to catch TeaVM:
The slides discuss some design choices they made to work within WASM constraints.
There is no sign they plan a JavaScript target.
Beta Was this translation helpful? Give feedback.
All reactions