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.
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.
Like to rate videos and let people know what you think?
Automatically share your ratings, favorites, and more on Facebook, Twitter, and Google Reader with YouTube Autoshare.
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
Like to share videos with friends?
Automatically share your ratings, favorites, and more on Facebook, Twitter, and Google Reader with YouTube Autoshare.
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
@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, 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.
@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.
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).
@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).
@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++.
@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.
@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.
@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.
Autoshare makes certain YouTube activities public on the services you choose. Select only the services you are comfortable with - like Facebook, Twitter, or Google Reader - to let your friends know what you like on YouTube. You can turn Autoshare off at any time.
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.
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.
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).
In fact on certain tasks Java may even outperform C++.
And, btw, if you think that system programming may not be done in managed, go check Singularity.