JVM to Sailfish
Is there any reason, why there wouldn't/couldn't/shouldn't exist a tailored implementation of Java (ME?) for Sailfish?
Security comes probably first to everybodys mind. However, the vast majority of Java's security problems are browser (Java plugin) related. Here I'm talking about stand alone Java applications in a "Linux computer", which are no more insecure, than any C++ app.
Performance could be another argument. In PC world JIT/HotSpot enabled JVMs are almost as fast executing as traditionally compiled C/C++ code (they say, that in many cases even faster...). I'm not that aware, what is the situation in mobile world, but since Android apps are sort of Java apps, I suppose the performance is not a problem there either?
The point would be to get huge increase to the number of potential developers to make more applications for Sailfish powered devices. Of course this would require, that all the necessary Sailfish APIs and libraries would be provided for the JVM. I leave to experts to estimate, how hard could that be.
:-)
It might be possible. The JavaSE 7 for ARM does work on the Nokia N9 - I even had full Netbeans IDE running on the N9, albeit very slowly :) However, I guess it is written for X windowing system, which is absent on Jolla. But you'd need libraries to interface with the middleware and Silica, which would deviate considerably from standard Java stuff. Perhaps QtQuick binding to JVM could help.
Fuzzillogic ( 2014-01-16 22:45:34 +0200 )editJava is faster than C. What kind of sorcery is this?
cropas ( 2014-01-17 01:27:43 +0200 )editPersonally I have zero interest in having a Java VM on my Jolla. If it should become available than for sure it should be an optional install. But I think Jolla / the community can spend their limited resources in better ways.
Winfried ( 2014-01-17 16:31:17 +0200 )editWould this decrease the burden to port Android apps to Sailfish?
AnaT ( 2014-01-19 12:04:36 +0200 )edit@Fuzzlogic that would be exactly what I'm aiming for here. Don't they have JavaSE 7 for ARM in Raspberry Pi ?
Upp15 ( 2014-01-31 09:06:56 +0200 )edit