P
Pep
Roedy said:I decided to plonk Oliver for a while to give it a rest. It was
getting too frustrating being contradicted over and over by someone so
inexperienced.
Big of you :->
Roedy said:I decided to plonk Oliver for a while to give it a rest. It was
getting too frustrating being contradicted over and over by someone so
inexperienced.
Roedy said:A link to an essay on the differences between C++ and Java in the Java
glossary has died
Big of you :->
Robert Klemme said:What exactly do you mean by this?
Roedy Green said:You just jerking my chain.
Roedy Green said:thanks everyone. You can see the aggregate list at
http://mindprod.com/jgloss/cpp.html
Oliver said:I'm not a C++ programmer, so I'm not sure about if this is true or not,
but I'm assuming there is no "Foo" such that for all "bar", "bar instanceof
Foo" returns true in C++. While there is such a "Foo" in Java (it's called
"Object").
:
: in message : >
: > thanks everyone. You can see the aggregate list at
: > http://mindprod.com/jgloss/cpp.html
:
: <quote>
: Java has a vast standard library set, including AWT and Swing. C++
: has a relativey modest standard set of methods, and relies on
: platform-specific GUI libraries.
: </quote>
:
: C++ has Qt, GTK and wxWidget which are fairly platform independent.
:
: - Oliver
The Java specification includes treats such as GUI, networking and
database connectivity APSs. The C++ specification is quite spartan in
this area. It is very possible to write GUI, networking and database
connectivity API's in C++, they are not part of the specification
though.
SDB said::
: <quote>
: Java has a vast standard library set, including AWT and Swing. C++ has a
: relativey modest standard set of methods, and relies on
platform-specific
: GUI libraries.
: </quote>
:
: C++ has Qt, GTK and wxWidget which are fairly platform independent.
:
: - Oliver
The Java specification includes treats such as GUI, networking and
database
connectivity APSs. The C++ specification is quite spartan in this area.
It
is very possible to write GUI, networking and database connectivity API's
in
C++, they are not part of the specification though.
SDB said::
: > The Java specification includes treats such as GUI, networking and
: > database
: > connectivity APSs. The C++ specification is quite spartan in this
area.
: > It
: > is very possible to write GUI, networking and database connectivity
: > API's in
: > C++, they are not part of the specification though.
:
: It seems "unfair" to me to compare a { language } to a { language,
: class library, platform }. When Roedy wrote "Java has a vast standard
: library set, including AWT and Swing", I assumed the "Java" there
: referred to the Java Platform, and not just the Java Language.
:
: If we're going to restrict C++ to just the C++ language, then we
: should do the same for the Java Language: the Java language itself has
: no direct facilities for GUIs, network or database connectivity. You can
: write APIs that provide such functionalities (and indeed, Sun has done
: that for us), but they are not part of the Java Language Specification
I think ANSI includes some standard libraries their definition of C++.
Simple ones like cout and cin along with some robust libraries like what
is
available in the STL. So ANSI defined the standard syntax and a standard
set of libraries. ANSI's definition does not include GUI, database
connectivity nor networking. If ANSI includes some libraries in its
definition of C++, it is fair to compare them to the standard set of
libraries included with java.
But the bottom line is that you don't really care. You'd just rather be a
dick.
I'm surprised at this comment, and given Roedy's frustrations
with me (i.e. you're not the only person I seem to have offended
in this thread), I'm starting to worry that the problem lies
with me. Is the tone of my writing really such that I sound like
I'm intentionally being antagonistic?
Oliver said:I'm starting to worry that the problem lies with me. Is the tone of my
writing really such that I sound like I'm intentionally being
antagonistic?
Oliver said:<quote>
Java requires a JVM to execute. C++ programs are usually freestanding.
</quote>
I'm almost afraid to bring this up (given how poorly my earlier comments on
the JVM were received), but Java doesn't actually require a JVM to execute.
See http://www.excelsior-usa.com/jet.html
Jeffrey Schwab said:The type is called void. instanceof is spelled dynamic_cast. Pointers
of any type can be assigned to void* without casts.
A statement that I think no reasonable person will dispute is that
when
downloading Sun's Java Development Kit, you get an excellent class library
from which to work with; while with C++, you sort of have to find and
download the libraries almost on your own. The closest equivalent I know
of in the C++ world is DJGPP, which does a relatively good job of
packaging a library into their development kit.
http://www.delorie.com/djgpp/
I'm surprised at this comment, and given Roedy's frustrations with me
(i.e. you're not the only person I seem to have offended in this thread),
I'm starting to worry that the problem lies with me. Is the tone of my
writing really such that I sound like I'm intentionally being
antagonistic? If I disagree with something you write, how should I have
expressed it? I didn't mean to offend you (which I assume I have, since
you have started "calling me names"). I think I may have Asperger's
Syndrome (http://en.wikipedia.org/wiki/Asperger's_Syndrome), which I
usually don't like to bring up, because I don't want to use it as a crutch
(e.g. to get people to "tolerate" me more readily), but I bring it up now
to try to convince you that I really had no intention of upsetting you.
Anyway, I always thought these disagreements were a Good Thing in the
sense that it allows the people involve to see things from other people's
perspectives and broaden their horizons. Certainly you have educated me
with your pointing out that the ANSI STL is indeed a standard library for
C++. I appreciate that, and I now find myself a little bit more
knowledgeable on the topic matter.
- Oliver
Roedy said:Just self preservation. There a guy who has threatened to "take me
down" see http://mindprod.com/feedback/peacedeaththreat.html
I just don't want do be involved in any needless fights.
Oliver said:No, I'm serious. What is the difference, in your opinion, between a
JVM
and an emulator?
- Oliver
Just for the record, while I don't have a dog in this fight, so to
speak, nothing you wrote seemed antagonistic to me. Nothing I saw
deserved name-calling or killfiling.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.