Graal
teavm
Graal | teavm | |
---|---|---|
169 | 33 | |
20,628 | 2,730 | |
0.6% | 1.1% | |
10.0 | 9.5 | |
4 days ago | 5 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
Graal
-
Why Does Everyone Forget Java and C# for Backend Development? Why Don’t Full-Stack Developers Learn Java and C#?
Java was created by James Gosling and released by Sun Microsystems in 1995. It was designed with the principle of "Write Once, Run Anywhere" (WORA), enabling cross-platform compatibility through the Java Virtual Machine (JVM). Over the years, Java became a leading language for enterprise applications, Android development, and large-scale backend systems. Oracle now maintains Java, with modern innovations such as Project Loom and GraalVM enhancing its performance.
-
Compiling Java into Native Binaries with Graal and Mill
Sorry, I know you weren't asking me, but for this same use case, yes, I've used a GHA build matrix with each OS/arch pair.
Cosmo/APE support would fix this, and GraalVM already ships with a Musl libc implementation, so it isn't very far off.
https://github.com/oracle/graal/issues/8350
-
Java Can Be Serverless Too: Using GraalVM for Fast Cold Starts
It wasn’t long before I ran into several other blog posts about developers successfully using GraalVM and frameworks such as Quarkus to address this very problem. And so I’ve decided to try it out for myself.
- Getting Started with Spring Boot 3 for .NET Developers
- Introduction to the Bytecode DSL
-
Lambda function with GraalVM Native Image - Part 1 Introduction to GraalVM and its native image capabilities
GraalVM adds an advanced just-in-time (JIT) optimizing compiler, which is written in Java, to the HotSpot Java Virtual Machine.
-
Marta File Manager: Back on Track
You can trim down the runtime[1] but the tooling around doing this is non-existent / unreliable. Alternatively, you can generate native binaries with GraalVM[2] which comes with its own baggage (license, slow compile time, etc).
[1]: https://docs.oracle.com/javase/8/embedded/develop-apps-platf...
[2]: https://www.graalvm.org/
-
Cosmopolitan v3.5.0
Too bad it looks stuck since about a month ago (https://github.com/oracle/graal/issues/8350#issuecomment-210...), needs some attention from @jart.
-
Migrating from Java 8 to Java 17: A Comprehensive Guide to New Features
Really now? Now that's interesting. I thought GraalVM might be a good option in that space https://www.graalvm.org/ last I checked, but something literally called Hermetic Java has my interest piqued.
-
One year of solo dev, wrapping up the grant-funded work
Had to look back at the deep bug you described and I am happy that someone looked into it[1] and got it fixed.
Also happy that they so publicly acknowledged your work to narrow it down!
[1]: https://github.com/oracle/graal/issues/8747
teavm
-
New Java to WASM GC Transpiler: Run Java in the Browser, No Plugin Requried
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: https://frequal.com/TeaVM/migration/MigratingFromSwingToTeaV...
For a more specific example, I ported an open-source Java applet and described the process here: https://frequal.com/java/RestoringA19YearOldGameWithTeaVm.ht...
-
Oracle, it's time to free JavaScript
With TeaVM you can compile Java to JavaScript and run it in the browser again. We've come full circle. https://teavm.org/
-
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.
What are some alternatives?
Liberica JDK - Free and 100% open source Progressive Java Runtime for modern Javaâ„¢ deployments supported by a leading OpenJDK contributor
helidon - Java libraries for writing microservices
Adopt Open JDK - Eclipse Temurinâ„¢ build scripts - common across all releases/versions
HumbleUI - Clojure Desktop UI framework
SAP Machine - An OpenJDK release maintained and supported by SAP
teavm-flavour - Framework for writing client-side applications using TeaVM
Dragonwell8 - Alibaba Dragonwell8 JDK
spring-fu - Configuration DSLs for Spring Boot
JDK - JDK main-line development https://openjdk.org/projects/jdk
SnapKit - A Java UI toolkit
awesome-wasm-runtimes - A list of webassemby runtimes
aWsm - WebAssembly ahead-of-time compiler and runtime. Focuses on generating fast code, simplicity, and portability.