News for hackers. Stuff that matters.
Re:Pure Java Typesetting System by TeaVMFan on Monday January 23, 2023 @09:18PM (#34498253)
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 in the browser:

https://frequal.com/java/RestoringA19YearOldGameWithTeaVm.ht...

More background on TeaVM:

https://teavm.org/

https://blogs.oracle.com/javamagazine/post/java-in-the-brows...

Re:Pure Java Typesetting System by tenaf0 on Tuesday January 24, 2023 @01:27PM (#34507770)
There is also Google’s closure compiler that can compile java to js.