Change Player Size
Watch this video in a new window

Androidology - Part 2 of 3 - Application Lifecycle

Part 2 of 3 in an overview series on the Android platform. In this segment, Mike explains the application and process lifecycle as a user navigates through different applications.  
 
Customize

QuickList(0)

Upgrade to Flash Player 10 for improved playback performance. Upgrade Now or get more info.
124 ratings
Sign in to rate
118,376 views
Want to add to Favorites? Sign In or Sign Up now!
Want to add to Playlists? Sign In or Sign Up now!
Want to flag a video? Sign In or Sign Up now!

Statistics & Data

Loading...

Video Responses (0)

This video has no Responses. Be the first to Post a Video Response.
Sign in to post a Comment

Text Comments (54)   Options

Loading...
xIamRightx (3 weeks ago) Show Hide
 0
Marked as spam
@mlanovoy- Though I do agree that Java is superior to C++ in some ways, you are just proving to them why they should develop in C++. When dealing with limited memory and processor power of a cell phone, you want speed and low level languages such as C / C++ can achieve such a goal
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo Java is by far better than C++ as language. Altho, Java is inferior to such languages as C#, Scala, Nemerle, F#, Python, Ruby ect
zenhemmo (1 month ago) Show Hide
 0
Marked as spam
mlanovoy,
are you joking? C++ is a compiled language, Java is an interpreted one. By its nature, C++ exceeds Java in performance many times. Why do you think system programming is done in C++, never in Java? And comparing languages like you do is meaningless, because every language has its own place.
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo Well, you need to get some clue regarding "compiled" "interpreted" next time before you make any judgements.
Java is NOT interpreted language. Java programs are compiled into intermediate form - bytecode - which is then compiled (!) into machine codes, machine codes being executed just like for any unmanaged program - by CPU and NOT by interpreter as you seem to think in your delusion.
zenhemmo (1 month ago) Show Hide
 -1
Marked as spam
mlanovoy,
you are correct about Java code being bytecode, I meant to say that Python is a interpreted one (as you mentioned it on your list). The speed difference can be clearly seen in algorithms - C/C++ compilers generate way more efficient code than Java ever does. Not to mention that C++ allows low level access and direct memory access (Java has a garbage collector).
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo There is different measures of efficiency. Very few situations where C++ code will really be "way more efficient". Java programs for example are more efficient than C++ because they consume much less storage (I'm speaking about their size). For such devices as phones with limited size of ROM it may be more critical than insignificant 10% difference in speed of computation (0.09 instead of 0.1 seconds for example for some rarely called but heavy function).
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo As for perfomance Java in fact MAY be slower but not more then 200-300%. It may be noticable for very few tasks. Usually it's CPU heavy computations such as math/cryptography/games for majority of other apps the difference is insignificant.
In fact on certain tasks Java may even outperform C++.
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo As of system programing - I personally KNOW unlike you why it's done in C (and not C++ as you think, btw) - it's NOT because of performance its because C is very low level language where you can directly work with system heaps/stacks, access IO ports ect, which is impossible (almost) for managed environments.

And, btw, if you think that system programming may not be done in managed, go check Singularity.
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@zenhemmo Anyways, I was comparing LANGUAGES not execution environment and not the compiled code. As *language* C++ is fugly. Even new C++0x standard for which is still in development is too an ugly language. And by language I mean language syntaxis.
mlanovoy (1 month ago) Show Hide
 0
Marked as spam
@RedClownKnight C++ as language is indeed crap. Altho, it's only really viable (a long with pure old C) language to develope on a system low level; and performance critical application.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.