RegEx101
teavm
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.
RegEx101
-
How small is the smallest .NET Hello World binary?
> I wonder if this could be used to make C# webassembly more viable.
You might enjoy reading this GitHub thread [0] where the community contributed a WASM library wrapping the C# regex code so that regex101.com could have a "C# mode". Lots of nerd sniping about reducing the payload size.
(There's also another thread [1] discussing the minification of a rust version of that same regex101 wasm library to provide a "rust mode" using @burntsushi's regex crate.)
[0]: https://github.com/firasdib/Regex101/issues/156
[1]: https://github.com/firasdib/Regex101/issues/1208
-
[Media] Regex101 now supports Rust!
Thatβs correct, compiled to WASM. You can see all the nitty gritty here https://github.com/firasdib/Regex101/issues/1208
-
Regex101.com needs help getting a small Rust WASM binary
Excellent comparisons. ~150KB without unicode would make Rust the smallest wasm on Regex101 as far as I can tell. pcrelib comes in at 198KB. Personally, I think ~400KB with unicode features is just fine for .wasm size. The heaviest flavor C# is around 4.91MB and was added back in February of this year. They also had a performance comparison which would also be interesting.
- Want to help bring Ruby support to Regex101 (online regexp suite)?
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.
What are some alternatives?
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources π
Regexly - WYSIWYG Regex playground for those who JavaScript
HumbleUI - Clojure Desktop UI framework
RegExpBuilder
teavm-flavour - Framework for writing client-side applications using TeaVM
oniguruma - regular expression library
spring-fu - Configuration DSLs for Spring Boot
Onigmo - Onigmo is a regular expressions library forked from Oniguruma.
wasm3 - π A fast WebAssembly interpreter and the most universal WASM runtime
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
helidon - Java libraries for writing microservices