r/java • u/alexp_lt • Apr 21 '26
CheerpJ 4.3 - Run unmodified Java applications in the browser
https://labs.leaningtech.com/blog/cheerpj-4.3
87
Upvotes
r/java • u/alexp_lt • Apr 21 '26
View all comments
Show parent comment
5
u/pron98 Apr 23 '26 edited Apr 26 '26
I strongly disagree. The output of most X -> JS and X -> C compilers is very much not intended to be read by humans. They exist because JS and C are good targets for desirable backends. It's precisely because most compilers with non-machine/byte-code targets are not intended to be read by humans that the term is not meaningful (and it's rarely uttered in compiler circles). Even one of the simplest and crudest compilers targeting high-level languages out there and the most popular compiler in the world of that kind - tsc - very much does not attempt for its output to be read by humans.