konsoletyper/teavm
View on GitHub ↗ ★ 3,143 Java
Compiles Java bytecode to JavaScript, WebAssembly and C
24 mentions on Hacker News by 18 people: 1 story, 23 comments · first 2015-10-31 · latest 2026-10-19
20082026
-
Or Java: https://github.com/konsoletyper/teavm
comment by theanonymousone · 2026-10-19 · in Java sealed classes and exhaustive pattern matching -
…Just add another build step to your bundler or whatever web dev uses nowadays to build apps. [0] https://github.com/konsoletyper/teavm
comment by Joker_vD · 2025-07-10 · in Flix – A powerful effect-oriented programming language -
No Swing support at present. There is an issue filed, but it is in need of an implementer: https://github.com/konsoletyper/teavm/issues/406 I made a general guide for migrating from Swing to TeaVM here:…
comment by TeaVMFan · 2024-12-15 · in New Java to WASM GC Transpiler: Run Java in the Browser, No Plugin Required -
Joel from our team worked on the initial prototype for WASI support in TeaVM ( https://github.com/konsoletyper/teavm/pull/610 ), and we temporarily forked before the WASI support made it to the official repo. Good reminder to deprecate…
comment by matei_radu · 2023-11-05 · in Spin 2.0 – open-source tool for building and running WASM apps -
…guys keep using this old non-maintained fork of TeaVM, while there's WASI support in main TeaVM ( https://github.com/konsoletyper/teavm )?
comment by konsoletyper · 2023-11-05 · in Spin 2.0 – open-source tool for building and running WASM apps -
There is TeaVM though which is AOT https://github.com/konsoletyper/teavm
comment by circuit10 · 2023-05-09 · in CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers -
…it looks ok. What sort of example you need? What's wrong with the Hello World link you posted, i.e. https://github.com/konsoletyper/teavm/tree/master/samples/he... ?
comment by konsoletyper · 2023-03-15 · in Cheerp 3.0: C++ compiler for the Web, now permissively licensed -
…) or post a message to Google Groups or on Github discussions ( https://github.com/konsoletyper/teavm/discussions )
comment by konsoletyper · 2023-03-15 · in Cheerp 3.0: C++ compiler for the Web, now permissively licensed -
…/ runtime that hasn't at least had a very simple example or two within their own documentation. https://github.com/konsoletyper/teavm/tree/master/samples/he... seems to be where they have their hello world, but ... what am I even looking…
comment by Twirrim · 2023-03-14 · in Cheerp 3.0: C++ compiler for the Web, now permissively licensed -
Uses this apparently: https://github.com/konsoletyper/teavm "TeaVM is an ahead-of-time compiler for Java bytecode that emits JavaScript and WebAssembly that runs in a browser."
comment by bullen · 2023-02-08 · in Open RuneScape Classic -
…with lots of functionality. One key part for the browser integration module (SnapTea) is TeaVM https://github.com/konsoletyper/teavm TeaVM converts Java code to run in the browser. It provides the ability to call JS functions to access…
comment by TeaVMFan · 2022-03-24 · in Ask HN: Does Java need a modern Java UI toolkit for desktop/web? -
SnapTea leverages TeaVM https://github.com/konsoletyper/teavm to convert Java to JS. However, SnapKit provides an entire UI framework layer too, enabling app portability to other environments (like the desktop JRE).
comment by TeaVMFan · 2022-03-24 · in Ask HN: Does Java need a modern Java UI toolkit for desktop/web? -
…support code splitting that Both GWT and Closure Compiler support, or cross-module code motion. https://github.com/konsoletyper/teavm/issues/333
comment by cromwellian · 2021-03-17 · in The Modern Java Platform – 2021 Edition -
…a way to do promises yet". TeaVM provides Java wrappers for most JS APIs, including promises ( https://github.com/konsoletyper/teavm/blob/master/core/src/m... ). If you require an API that doesn't have a wrapper yet, it is dead simple to…
comment by shannah78 · 2021-01-31 · in TeaVM: Build Fast, Modern Web Apps in Java -
…I was wrong, it seems to be actively maintained and evolving on GitHub[1]. [0] http://teavm.org [1] https://github.com/konsoletyper/teavm/issues
comment by brabel · 2021-01-20 · in Java on Truffle – Going Fully Metacircular -
…I don’t have any obvious ways to move the app forward, so the addiction dissipated ;) Run through https://github.com/konsoletyper/teavm to WASM and abstract graphics calls and what not :-)
comment by kodablah · 2018-05-23 · in Why did I spend 1.5 months creating a Gameboy emulator? (2017) -
Looks like simple mark-and-sweep, yes. https://github.com/konsoletyper/teavm/blob/d882fd1/core/src/...
comment by MaxBarraclough · 2018-01-05 · in TeaVM – Ahead-of-time transpiler of Java bytecode to JavaScript or WebAssembly -
https://github.com/konsoletyper/teavm/blob/d882fd14a63cc1bd7...
comment by glibgil · 2018-01-05 · in TeaVM – Ahead-of-time transpiler of Java bytecode to JavaScript or WebAssembly -
…It is already happening. https://github.com/SteveSanderson/Blazor https://github.com/kg/ilwasm https://github.com/konsoletyper/teavm In two to three years time, Flash will be back.
comment by pjmlp · 2017-08-31 · in How V8 handles JavaScript properties internally -
No [0], and no in the other direction [1] (disclaimer, I'm the author of the latter) 0 - https://github.com/konsoletyper/teavm 1 - https://github.com/cretz/asmble
comment by kodablah · 2017-06-28 · in ThinScript, an experimental programming language that can compile to WebAssembly -
…the stdlib, not the translation. As an alternative, I would recommend people look at TeaVM[0]. 0 - https://github.com/konsoletyper/teavm
comment by kodablah · 2017-06-19 · in CheerpJ Applet Viewer – Runs Java applets without a local Java installation -
TeaVM [1] does this, but I don't know much about it. [1] https://github.com/konsoletyper/teavm
comment by niftich · 2017-04-17 · in Show HN: Asmble – Compile WebAssembly to the JVM -
…Scala as well. But I've never used it, so cannot recommend really. 1. http://www.gwtproject.org/ 2. https://github.com/konsoletyper/teavm
comment by prohor · 2015-11-24 · in Scala.js has a new website -
▲ 2
TeaVM – Java Bytecode to JSstory by crudbug · 2015-10-31 · 1 comment