Hacker News new | past | comments | ask | show | jobs | submit login
CheerpJ 3.0: A WebAssembly JVM to run real-world applications in the browser (leaningtech.com)
41 points by apignotti on Feb 1, 2024 | hide | past | favorite | 8 comments



Congratulations on a great product! I've played with it quite a bit and we finally have a great version of Java in the browser!


java in the browser...sounds familiar...


"It can run minecraft" is a pretty impressive bar to pass


One missing feature is the native code support for JNI.. Currently you have to manually provide JS functions to CheerpJ, and this isn't integrated with CheerpX AFAIK


As part of the next release cycle we plan to release our C/C++ JNI implementation so that 3rd party JNI components can be compiled to dynamically loaded .wasm libraries.

This will be based on Cheerp (our C++ -> WebAssembly compiler).

Integration with CheerpX is another possibility, but we think building the modules from source it's a more realistic solution in the medium term.


Not using the system's runtime also means that it's impossible for an applet to attatch to a local java process as a debugger.


[flagged]


CheerpJ uses http byte range requests which reduces the amount of necessary downloads. My full featured Java app downloads < 20 mb with CJ, which is about the same as hitting the front page of NYTimes.com or spending 20 seconds on YouTube.


Yes, that's not bad.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: