Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TeaVMFan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
TeaVMFan
3y ago
Agreed that many people will want to build true web single-page apps, not port Swing to the web in a Canvas. A Java option for modern web apps exists, and it's called Flavour: https://flavour.sourceforge.io/ * Build SP
122.
▲
by
TeaVMFan
3y ago
Related, if you like Java but want to create a modern, Lighthouse-ready web app, check out Flavour: https://flavour.sourceforge.io/
123.
▲
by
TeaVMFan
4y ago
A good introductory article is this one from Java Magazine: https://blogs.oracle.com/javamagazine/post/java-in-the-brows... A good collection of specific, detailed how-to's for various use cases is in Tea Sam
124.
▲
by
TeaVMFan
4y ago
While you wait for CheerpJ, please check out TeaVM: https://teavm.org/ It has a permissive Apache license and numerous success stories: https://frequal.com/TeaVM/TeaVmBasedSites.html There is also a fu
125.
▲
by
TeaVMFan
4y ago
Can anyone find a source download link? This might work well on the web if transpiled to JS but I don't see the sources anywhere.
126.
▲
by
TeaVMFan
4y ago
It would be interesting to build this with TeaVM to allow high-quality typesetting for online papers and interactive web content. TeaVM transpiles Java to JavaScript. I used it to convert a Java interactive fiction project to run natively
127.
▲
by
TeaVMFan
4y ago
+1 for TeaVM. Not only is there the Fermyon friendly fork, but WASM/WASI/debugging is seeing a large number of checkins in recent weeks in the main fork. However, true "Java Geeks" should try the JavaScript support in T
128.
▲
by
TeaVMFan
4y ago
There is a lot of WASM activity in the TeaVM mainline going on right now. I'm looking forward to even more WASM features in TeaVM in 2023.
129.
▲
Java Front-End Development in 2023
(frequal.com)
5 points
by
TeaVMFan
4y ago
|
5 comments
130.
▲
by
TeaVMFan
4y ago
Java and JVM languages are poised for a front-end resurgence, as the pendulum of language typing swings back towards "strong". See the options and learn why TeaVM/Flavour Plus is the best. https://frequal.com/
131.
▲
by
TeaVMFan
4y ago
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:/
132.
▲
by
TeaVMFan
4y ago
Yes, TeaVM predates Blazor and still has the edge on most fronts: https://frequal.com/java/TeaVmVsBlazorWasm1-0.html Comparison Chart: https://frequal.com/java/TeaVmVsBlazorChart.html
133.
▲
by
TeaVMFan
4y ago
Yes, TeaVM is still actively maintained by the original author (and contributors). Java 17 record support was recently implemented, for example. TeaVM is coming up on 10 years, so it has proven its longevity.
134.
▲
by
TeaVMFan
4y ago
Actual Java in the browser (working, fast, passes Lighthouse) with TeaVM: https://blogs.oracle.com/javamagazine/post/java-in-the-brows... For example, try this 5-letter word game: https://frequal.com&#x
135.
▲
by
TeaVMFan
4y ago
TeaVM is faster and more web-centric than either of the mentioned options: https://blogs.oracle.com/javamagazine/post/java-in-the-brows... * Super fast builds * Complete Maven builds, no JS build nightmares * Mini
136.
▲
by
TeaVMFan
4y ago
There's also nothing stopping teams from developing the front-end in Java too. Java SPAs have been possible for over five years using TeaVM: https://teavm.org It lets you code in Java, compile to a native SPA, and gain all
137.
▲
by
TeaVMFan
5y ago
SnapKit is a huge framework with lots of functionality. One key part for the browser integration module (SnapTea) is TeaVM https://github.com/konsoletyper/teavm TeaVM converts Java code to run in the browser. It prov
138.
▲
by
TeaVMFan
5y ago
SnapTea leverages TeaVM https://github.com/konsoletyper/teavm to convert Java to JS. However, SnapKit provides an entire UI framework layer too, enabling app portability to other environments (like the desktop JRE).
139.
▲
by
TeaVMFan
5y ago
SnapKit lets you code in Java but deploy as transpiled JS when using SnapTea. No JRE, just a native browser app. Try the demos, it is quite, well, snappy.
140.
▲
by
TeaVMFan
5y ago
I have been impressed with SnapKit since first learning of it. The discipline and effort required to build the proper framework-level abstractions to be portable to future UI toolkits is extremely impressive. And unlike some other projects,
141.
▲
by
TeaVMFan
5y ago
Code signing killed Web Start for anything but big $$$ projects. And asking people to download an application and run it with full privileges is a huge barrier to entry. Contrast with the web deployment model: * Deploy with a free SSL cert
142.
▲
by
TeaVMFan
5y ago
I have removed it, thank you.
143.
▲
by
TeaVMFan
5y ago
Oh, I almost forgot, after a Wordii game is over, the word is shown as a hyperlink below the puzzle. The link takes you directly to the definition of the word.
144.
▲
by
TeaVMFan
5y ago
That will be a fun addition. Especially since Wordii is designed for longer play, that makes sense. Expect to see it soon. Thanks!
145.
▲
by
TeaVMFan
5y ago
Yes, designing a dictionary that is both challenging and reasonable is another challenge for games like this. I made a pass through the dictionary after earlier HN feedback, adding some words for guessing and removing some more obscure wor
146.
▲
by
TeaVMFan
5y ago
Having implemented my own 5-letter word game, I can agree that much finesse lies under the covers. Wordii is for the impatient, letting you play more often if you choose: https://frequal.com/wordii/ The many subtletie
147.
▲
by
TeaVMFan
5y ago
I forgot to mention that additional statistics appear as you reach streak milestones: * 5 solves in a row * 10 solves in a row * 20 solves in a row
148.
▲
Show HN: Wordii: Infinite Words; Fast Web SPA; Pure Java: Pick Any Three
(frequal.com)
2 points
by
TeaVMFan
5y ago
|
1 comments
149.
▲
by
TeaVMFan
5y ago
This looks very impressive. "You must have a Mac to make a Mac binary" has always been an annoying shortcoming of jpackage, especially for smaller or independent developers. Congrats, and thanks. This is going to be very useful f
150.
▲
by
TeaVMFan
5y ago
Yes, this is a ground-up implementation using TeaVM and the Flavour toolkit. TeaVM: https://teavm.org/ Flavour: https://teavm.org/docs/flavour/templates.html
More ›