News for hackers. Stuff that matters.
Re:JetBrains Research by TheRealDunkirk on Wednesday August 17, 2022 @01:45PM (#32499491)
Java's great, but if we're building a WEB app, I like a language that can also generate the view. In Java land, everyone is now relying on some Javascript library, and I hate having to make 2 compilers agree at the edges where they touch.
Re:JetBrains Research by kaba0 on Wednesday August 17, 2022 @05:35PM (#32502011)
I agree with that wholeheartedly, but there is a solution: there is teavm which can compile byte code to js (and wasm), or google’s closure compiler.

There used to be also GWT and nowadays Vaadin I believe to do frontend completely, but I honestly think that a shared business lib with native frontend for each platform is the best way forward.

Re:JetBrains Research by eastbound on Wednesday August 17, 2022 @03:21PM (#32500577)
The only edge they touch is the REST API. Granted, it’s a bit annoying to map types in Java and JS, but it’s easy through Swagger or Typescript.