maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Competitors (https://talk.maemo.org/forumdisplay.php?f=4)
-   -   Latest And Greatest! (https://talk.maemo.org/showthread.php?t=92849)

nokiabot 2014-06-26 13:20

Re: Latest And Greatest!
 
android is improving day by day so is google intruding more day by day:)

willi6868 2014-06-26 13:33

Re: Latest And Greatest!
 
Quote:

Originally Posted by mscion (Post 1431077)
Which fanboys are you referring to? The apple fanboys, maemo fanboys, android fanboys, Jolla fanboys, N9 fanboys, windows fanboys? Wait... are there windows fanboys? I dunno...

I am referring to android fanboys but essentially I just read it in a german article that they are assuming it to be 'Lollipop'. :D

smoku 2014-06-26 15:46

Re: Latest And Greatest!
 
Quote:

Originally Posted by mscion (Post 1431075)
Folks on these threads complain because Android uses Dalvik, which puts a layer between the software and cpu and thus compromises performance. ART does not have this "layer"

Not so.
The difference between Dalvik and ART is that Dalvik's layer is generated during runtime of the application and ART pre-generates whole right after installing the app.
The level of indirection stays the same - only app startup/wormup time improves.

mscion 2014-06-26 20:21

Re: Latest And Greatest!
 
Quote:

Originally Posted by smoku (Post 1431086)
Not so.
The difference between Dalvik and ART is that Dalvik's layer is generated during runtime of the application and ART pre-generates whole right after installing the app.
The level of indirection stays the same - only app startup/wormup time improves.


Maybe I'm confusing things by using the term layer although some times I see diagrams with Dalvik between the software and the CPU. I suppose ART would be there but used differently. I think one important difference is how ART and Dalvik handle the compilation of apps. Because ART uses Ahead-of-TIme (AOT) compilation there can be significant improvement of app performance over Dalvik which uses Just-in-Time(JIT) that compiles code when you run the app. AOT compiles code when you install it.
Maybe JIT approach was useful to reduce memory usage but at the cost of performance speed.

https://source.android.com/devices/tech/dalvik/art.html

DJJonosound 2014-06-27 09:18

Re: Latest And Greatest!
 
Quote:

Originally Posted by mscion (Post 1431075)
I think you misunderstood my sentence. Folks on these threads complain because Android uses Dalvik, which puts a layer between the software and cpu and thus compromises performance. ART does not have this "layer" and can significantly improve performance. Sorry if this sounds too simplistic. Regardless, I've seen it demoed on an S5. It is impressive.

Sorry I did misunderstand you :P
I have been using ART on all my android devices, it makes a noticeable difference in performance and battery life.

From what I read up on how it works, the uncompiled apps are put on the play store, and the device locally compiles it, and then runs the compiled file, as opposed to interpreting it as it goes. The only issue I have had with ART is 2 seconds of lag when the file is being compiled.

Quote:

Originally Posted by nokiabot (Post 1431078)
android is improving day by day so is google intruding more day by day:)

Eh, I don't think it is worth worrying about. I already have a google account with plenty of personal information associated with it. If google wants the data, they will probably find a way to get it anyhow.

m4r0v3r 2014-06-27 11:05

Re: Latest And Greatest!
 
i thought art would compile on installation, and then thats it

mscion 2014-06-27 12:05

Re: Latest And Greatest!
 
Quote:

Originally Posted by m4r0v3r (Post 1431186)
i thought art would compile on installation, and then thats it

I think that is the gist of it but ART does some other stuff. Check the link in my previous post. So, from what I've seen, the main improvement in performance is the actually start up of the app. I wonder, because you compile at installation with ART instead of on the fly with Dalvik, if that allows for more flexibility in compilation options to improve performance while the app is running.

slaapliedje 2014-06-27 14:44

Re: Latest And Greatest!
 
Unfortunately on the Galaxy Note 3 that I have, ART isn't an option. Samsung didn't include it.

I really wanted to see the difference it made.

Granted, I could probably try to find a more standard ROM for my phone, but then I would lose all the cool stylus functionality, which is the main reason I got the Note 3.

slaapliedje

Kangal 2014-06-28 00:45

Re: Latest And Greatest!
 
Agreed.

I'm on Alliance ROM for this reason. All the benefits of TW ROM, but more lean and much added functionality from AOSP ROMs. ART isn't even Xposed-compatible...yet.

I do wonder if ART has a more noticeable impact on slower devices or faster devices.

mscion 2014-07-01 13:31

Re: Latest And Greatest!
 
Has anyone tried making a cell phone using raspberry pi?

http://techcrunch.com/2014/04/28/the...-raspberry-pi/


All times are GMT. The time now is 11:18.

vBulletin® Version 3.8.8