jsweet
j2cl
Our great sponsors
jsweet | j2cl | |
---|---|---|
9 | 9 | |
1,433 | 1,160 | |
0.6% | 1.0% | |
8.2 | 9.7 | |
4 months ago | 1 day 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.
jsweet
-
Ask HN: Anyone Interested in Taking over Jsweet.org?
You can take a look at https://github.com/j4ts, which contains some Java libs transpiled by JSweet to TS/JS. The AWT/Swing implementation is just a proof of concept, but some other libs are fully functional like awt/geom.
However, you have to be aware that the initial purpose of JSweet was not to port all Java libs to JS. JSweet allows the transpiler to be customized (with extensions) to map Java APIs to JS ones so that you don't necessarily need a JS runtime. It's all explained in the "Extending the transpiler" section of the core doc: https://github.com/cincheo/jsweet/blob/master/doc/jsweet-lan...
- JSweet β A Java to JavaScript Transpiler
-
I like to discuss ui frameworks for java backend?
We used a lot GWT with UI frameworks like dominokit or Vaadin. There is another transpiler not mentioned before: https://github.com/cincheo/jsweet It has better JS ecosystem integration and some library ports. I never used it, but it worth to try.
-
Can you do web development with java?
Well, you can, in theory use any language if you transpile it - that way, you'd end up using a single language across the stack (even if you're technically using JS). An example of this would be JSweet.
-
Looking for Talented FTC Programmers to develop a Java to JS Transpiler
TheVirtual FTC simulator team is looking for FTC team members or alumni who want a programming challenge. We want your help adapting jsweet https://www.jsweet.org/ to transpile Java code to JS. Programmer will be working on automatic translation of Java to Javascript. Experience with both Java and Web development is ideal.
-
Ask HN: Why isn't GWT or Vaadin more popular among Java developers?
Definitely worth a look thank you! On another note, I've experimented successfully with https://www.jsweet.org/.
-
The Future Of The Web
I look forward to getting back into front-end if I can do it in Java only (which can be done today) ... and not be looked down upon by frontenders, the CSS tricks designer crowd and the highly vocal JavaScript crowd.
-
What is Java equivalent of Scala.js?
www.jsweet.org
j2cl
- Google/j2cl: Java to Closure JavaScript transpiler
- CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
- Creating a incremental game in Java
-
When this will come to Java or when will the work start for this?
There are many open source projects like, https://github.com/google/j2cl/tree/master/samples/wasm
-
Using Java for the front-end of a web app in 2022
This was a grand stroll down memory lane; having hacked Java since JDK 1.0, I've seen a lot of improvement.
An idle thought: he favors server-side rendering whereas the javascripts seem to favor client-side rendering. Along the way doing servlets, there came to be "view first" rendering, where you use serverside to paint a minimal page which, itself, uses ajax calls to fill in the blanks. I used that a lot.
It's true also that I migrated from servlets to node. But, in all of this, clojurescript erupted on the scene. And, for me, that's where the piece gets interesting: he introduces us to a java to clojurescript transpiler and tells us it was used to craft the google app suite. Now it's time to go play [1]
- J2CL β Java to Closure JavaScript Transpiler Used by Gmail and Docs
-
Three.js for Java devs: J2CL, Closure, Bazel, etc ...
So it looks like we have pretty much everything except for the most important part: three.js that we can use from Java. And itβs a little bit of a complex part. To interop with JavaScript we should use J2CL JsInterop API, but there is a little problem: Closure Compiler must be able to recognize types of (most of the) three.js objects. Here we have two options:
-
the only reason java is still relevant is because it is shoved down the throats of high schoolers and college students
You mean https://github.com/google/j2cl ? You understand though that these are trying to solve multiplatform in very different ways. I don't think this approach has a bright future.
-
Front end development for java.
Have you seen J2CL? https://github.com/google/j2cl
What are some alternatives?
yGuard - The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources π
webfx - A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.
Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
Simple Java Mail - Simple API, Complex Emails (Jakarta Mail smtp wrapper)
tsickle - Tsickle β TypeScript to Closure Translator
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
Google Web Toolkit - GWT Open Source Project
bazel-vscode-java - Bazel Java development extension for VS Code
JavaCV - Java interface to OpenCV, FFmpeg, and more
molecule - Build a StateFlow stream using Jetpack Compose