teavm
SnapKit
Our great sponsors
teavm | SnapKit | |
---|---|---|
30 | 10 | |
2,479 | 189 | |
- | - | |
9.5 | 9.4 | |
4 days ago | 3 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
teavm
-
Spin 2.0 – open-source tool for building and running WASM apps
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 that now!
-
Bring garbage collected programming languages efficiently to WebAssembly
A number of concerns with the viability of the current WASM GC are covered here (Google translation to English):
https://habr-com.translate.goog/ru/articles/757182/?_x_tr_sl...
and the original article:
https://habr.com/ru/articles/757182/
This is from the author of TeaVM, who has 10 years of experience getting Java and JVM code to run efficiently in the browser. https://teavm.org/
TeaVM's existing transpilation of Java to JavaScript performs well (using the browsers JS GC). It will be interesting to see if WASM GC matures to the point where it is even faster.
-
Play Runescape Classic Again
Uses this apparently: https://github.com/konsoletyper/teavm
- ASP.NET Core Dev Team Launches 'Blazor United' Push for .NET 8
- Pure Java Typesetting System
-
Embed your Doom in Java with GraalVM Wasm.
How does this compare to say the TeaVM (https://github.com/konsoletyper/teavm) which I know only has "experimental" WASM support at the moment?
-
Regex101.com needs help getting a small Rust WASM binary
For Java, no WASM file is requested. Maybe the Java code was transpiled to JavaScript, perhaps using TeaVM.
-
Oracle Contributing GraalVM Community Edition Java Code to OpenJDK
>> It's not like you can take a random JAR and convert it to WASM.
Maybe you can:
TeaVM is an ahead-of-time compiler for Java bytecode that emits JavaScript and WebAssembly that runs in a browser. Its close relative is the well-known GWT. The main difference is that TeaVM does not require source code, only compiled class files. Moreover, the source code is not required to be Java, so TeaVM successfully compiles Kotlin and Scala.
https://teavm.org/
I have never had an opportunity to try out TeaVM, but it seems promising.
-
Using Java for the front-end of a web app in 2022
For a fast, lightweight, Java-based front-end, try TeaVM and its Flavour toolkit:
https://teavm.org/
It is easy to get started by using the maven archtetype, there's an tutorial in Java Magazine here:
https://blogs.oracle.com/javamagazine/post/java-in-the-brows...
With TeamVM and Flavour you get a full front-end SPA framework that lets you code business logic in Java, and pair that with HTML and CSS to make components.
To see what it can do, check out Wordii, a fast-paced 5-letter word game:
-
TSMC to Begin 3nm Chip Production Next Month, Apple gets first dib
> Someone will make the JRE run on WASM
https://teavm.org/
Minecraft contains some native dependencies, though; you'll need something like https://copy.sh/v86/ or https://bellard.org/jslinux/ with the right operating system image to run it in browser.
SnapKit
-
Show HN: SnapCode – a real Java IDE in the browser
SnapCode is actually using SnapKit (https://github.com/reportmill/SnapKit) which can run on either WebAPI/DOM (in browser) or Swing (desktop). In the browser this helps slim the download and improve performance by using more browser native code.
For pricing, SnapCode is free for individual use and will remain so. Perhaps there will be funding opportunities from large organizations or for embedding use cases to help provide for the continued health of the product and community.
-
What do you use for building Desktop apps these days?
The new kid on the block is SnapKit: https://github.com/reportmill/SnapKit
- What’s the cool app framework and UI i should be using ?
-
Ask HN: Tips for modern Java Swing development?
Theres a bit more to it than that, since you want resetUI to update all of your components without triggering respondUI(). And you want all your components to be automatically configured to call respondUI() when there is user interaction.
I’ve written one of these before, but I don’t have access to a public version anymore. I do all my current UI dev in a UI kit built on top of Swing. But here is what I use there that solves this problem:
https://github.com/reportmill/SnapKit/blob/master/src/snap/v...
-
Ask HN: Why isn't GWT or Vaadin more popular among Java developers?
I use SnapKit to do Java desktop development which compiles easily to JavaScript using TeaVM. SnapKit is both modern and conventional, a good middle ground between Swing and JavaFX. But most importantly, it combines the traditional win of desktop Java UI dev with the ease of web deployment.
SnapKit:
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
- Why did Java lose UIs to HTML/JS?
-
Ask HN: Who Wants to Collaborate?
Repo: https://github.com/reportmill/SnapKit
- What's the future of Java UI development?
What are some alternatives?
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
ubikom - Free, secure communications for everyone, powered by decentralized private identity.
HumbleUI - Clojure Desktop UI framework
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
teavm-flavour - Framework for writing client-side applications using TeaVM
cljfx - Declarative, functional and extensible wrapper of JavaFX inspired by better parts of react and re-frame
spring-fu - Configuration DSLs for Spring Boot
Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
tornadofx2 - TornadoFX 2.0
helidon - Java libraries for writing microservices
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+