Hi Joel,

#not to start any language holy wars, but yes, java has a... "cleaner"
#implementation of object-orientedness than C++... 
#

Yeah, but Java still suffers from mixed structured, and OO
dilemna. e.g. the primitive data types, and the Math class.

#i'll maybe try doing small
#prototypes in C++ and in Java and see if the speed issue doesn't matter
#much...
#

For small programs, chances are any JVM won't fair with the speed of C++
binaries.  The JVM bootstrapping normally takes a while (even with -client
switch in Sun JVM) since it initializes a number of subsystems -- gargabe
collector, all the properties files, all the hooks, etc. Small, 
short-lived applications space is not Java's turf.  Its turf is in 
long-lived applications such as embedded software, and applications
servers.

A word of caution when using C++: Always consciously write default ctors,
copy ctors, assignment operators, and (virtual, and 
non-virtual) destructors.  Most leaks tend group-up in those functions. ;)

stay cool.

jeff --

-- 
Jeff Gutierrez
Mapua Online! 
http://www.mapua.org
http://www.mapua.com
http://www.mapua.net

Pinoy Ako! May reklamo?

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to