News for hackers. Stuff that matters.

funkybro

Why do you care if the generated objC is "hacky"? Correctness and performance is all that matters surely?

I've stuck to using GWT generated JS in a hidden webview on iOS, rather than J2ObjC.

I've found the process of compiling code on J2ObjC to be difficult and laborious. It may have improved but on initial investigation I ended up hacking a script to try and generate the correct command line for my project. Not to mention downloading and unpacking each library jar by hand.

GWT on the other hand integrates easily with Maven, pulls in all your dependencies and filters out unused methods.

Additionally, the code can be run anywhere else JS is available, in our case Windows Phone and Xbox One.

This is similar to Kirin framework (http://github.com/futureplatforms/kirin)

Cross platform development in Java is compiled to JS via GWT and can be deployed anywhere Java or JS is available.

It powers apps with hundreds of thousands of users on iOS, Android, Windows, Windows Phone and Xbox One.

Re:Apple goes to war with the BBC on Friday December 19, 2014 @08:56AM (#8772201)
See also: Facebook and security/privacy
Re:Farewell CoffeeScript on Thursday October 02, 2014 @08:19AM (#8400415)
I'm interested to know what value TS/CS devs get from their code translating to "legible" JS?