Tokamak
teavm
Our great sponsors
Tokamak | teavm | |
---|---|---|
22 | 30 | |
2,412 | 2,466 | |
1.4% | - | |
0.0 | 9.5 | |
5 days ago | 1 day ago | |
Swift | Java | |
Apache License 2.0 | 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.
Tokamak
-
Writing Gnome Apps with Swift
https://github.com/TokamakUI/Tokamak
I’m also working (slowly) on native Flutter channels:
https://github.com/PADL/FlutterSwift
But this is really targeted at embedded use cases.
- Show HN: Tokamak – A Dependency Injection-Centric Server-Side Framework for Zig
- Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
- Swift Achieved Dynamic Linking Where Rust Couldn't
-
Apple overtakes Android to pass 50% share of smartphones used in US; dominates global premium sales
You can even make web apps by creating web components in swift with Tokamak.
-
JavaScriptKit help
I am playing around with Tokamak just for a bit of fun and learning, and it's been pretty solid so far! Though I want to branch out and play with some dynamic data from a random API, instead of just using mocked/pre-populated data.
-
Can you create applications for Ubuntu using Swift?
Yep, for imperative UI programming, there’s SwiftGTK which supports GTK 3 & 4 through gobject introspection, and for a more declarative paradigm, Tokamak has a GTK renderer, though it’s not as fully featured as SwiftGTK yet.
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
-
Is "import Foundation" always required in Swift code?
FWIW, there are people working on SwiftUI ports to other platforms, including on Linux backed by GTK
-
LibreOffice running natively in a browser via WebAssembly
I’ve been seriously impressed with Tokamak for Swift. Is this what you mean for browser native GUI?
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!
Why you guys keep using this old non-maintained fork of TeaVM, while there's WASI support in main TeaVM (https://github.com/konsoletyper/teavm)?
-
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.
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:
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:
What are some alternatives?
SwiftWebUI - SwiftUI with support for WebAssembly
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
HumbleUI - Clojure Desktop UI framework
teavm-flavour - Framework for writing client-side applications using TeaVM
spring-fu - Configuration DSLs for Spring Boot
Vapor - 💧 A server-side Swift HTTP web framework.
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
helidon - Java libraries for writing microservices
JHipster - JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."
aWsm - WebAssembly ahead-of-time compiler and runtime. Focuses on generating fast code, simplicity, and portability.
tetris - Tetris game implemented in languages I used for something more serious than "Hello world".
Mongrel - Build declarative HTML in Swift.