Overall,  I'd have to say that Java is a much easier language to program in
than C++.

It's probably not a good idea long term, but I found that most of it I could
figure out just by following my nose.  If you know C++, I'd say that you
should just start to look at Java code, and see how it fits together.

After a few months, you should be able to understand the actual standard
fairly easily, and you will probably even be able to understand pretty well
how java translates to JVM code.  The translation process for java -> JVM is
much easier than, say, C++, where understanding a C++ compiler is something
that probably takes a career worth of thinking.

Along with that, understanding the JVM might also give some insight into
what you're really doing, taking a look at the JVM bytecode layout,  and
then Dalvik (I must admit, I still haven't taken the time to do this as much
as I should) will probably help too.

(Actually, on a side note, looking at a java compiler -- there are many open
source ones out there, google "java compiler paper" -- is actually an
enlightening experience from a compiler design perspective, because it
elides all of the low level details you might want to think about
separately).

So try getting an idea of all the details of Java by looking at code, then
look at the language spec (*Free online*!) and then after a while the JVM
spec, then this: http://www.milk.com/kodebase/dalvik-docs-mirror/docs/


Kris

On Fri, Jun 10, 2011 at 4:57 PM, luciofm <[email protected]> wrote:

> Thanks for the response..
>
> I've already ordered the "Effective Java", will take a look now in
> pricing of the others..
>
> Thanks again, and have a great weekend.
> LĂșcio Maciel
> [email protected]
>
>
>
> On Fri, Jun 10, 2011 at 17:07, fadden <[email protected]> wrote:
> > On Jun 8, 6:55 am, luciofm <[email protected]> wrote:
> >> I have a C and C++ background and i'm looking for "THE" java book, like
> the
> >> "C Programming Language, best know as K&R, for C and the "C++
> Programming
> >> Language" by Bjarne Stroustrup for C++.
> >
> > If you're looking for reference material, _The Java Language
> > Specification_ and _The Java Programming Language_ (published by Sun
> > through Addison-Wesley) are the canonical references.
> >
> > Bruce Eckel's _Thinking in Java_ is better for "everyday" sorts of
> > things.  And no Java coding library is complete without Josh Bloch's
> > _Effective Java_.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to