Title: RE: [jdjlist] RE: Write Once, Run Anywhere - yes

That's if you donno how to use make and autoconf utility ? One of the nice example is SDL library.The library could compile nicely in both windows and linux.Who say C++ is not portable ?

 

Is depend on how the programmer paint the picture.A bad and unexperienced painter would made a bad painting....

 

 

-----Original Message-----
From: Greg Nudelman [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 11:57 PM
To: jdjlist
Subject: [jdjlist] RE: Write Once, Run Anywhere - yes

 

<snip good stuff>
did anyone ever try to "port" (hahaha...) even a simple C/C++
app from one platform to another which was not explicitely
designed for this (ANSI C/C++, only standard libraries which are
not very powerful...and even then: some primitive types are of different
sizes on almost every compiler, and not all developers are aware of the
"sizeof"
operator...), let alone a GUI app or programs that use
a lot of networking code or the like?
</snip good stuff>

Yeah, I tried that once... I wrote a simple 2000 line program in M$FT Visual C++ (worked fine) and tried to make it run on Unix.  The first thing I got from gcc was 37 compile errors... You will never have this happen with Java.  Java is a much nicer environment to play with.  Automatic garbage collection, interfaces and full OO design features, decent standard libs, automatic memory management, and if you know the language fairly well, you can, in most instances, write very fast/efficient code without making it unreadable.  Yeah, Java needs a little tweaking now and then.  Big deal!!  That's what keeps me employed.

Oh, eah, and did I mention, I never had a single javac fail with 37 compile errors for a working program?

Maybe someday M$FT.NET's code portability will catch up to Java.  For now, given the M$FT strategy of exlusivitiy, there is simply no way for that to happen.  They make the $ in M$FT by being an exclusive monopoly.

Greg

---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to