On Thursday 27 May 2004 09:43 am, Marc Lehmann wrote: > On Mon, May 24, 2004 at 09:42:37PM -0500, Conrad Sabatier <[EMAIL PROTECTED]> wrote: > > I find Java's memory requirements to be totally unreasonable, its > > performance lackluster, and I've finally come to the conclusion that it > > was indeed a poor choice of language in which to implement a project of > > this size and complexity. A native-compiled language would have offered > > vastly superior speed and, no doubt, significantly lower memory > > consumption as well. > > And most likely vastly improved portability, too, as most native compiled > languages are far more portable than java (and especially freenet, which > basically runs on windows, linux/x86 and whatever emulates these only, > due to it's dependencies on the sun sdk).
Natively compiled languages more portable than Java? Can you provide examples? Windows is a real problem in this area, as far as writing portable code is concerned. Since windows only ships with POSIX.1, you'll have to rewrite everything that uses functions in the later revisions, which includes pthreads. Even then the API's don't work equally well (for example, performing a stat() on an already opened file works fine on Linux, but on Windows returns an error). I've found that debugging fcptools on Windows allows me to see more errors, and therefore has been my choice for testing since Windows doesn't allow as much freedom as Linux does, for better or worse. Choosing Java in this respect eliminates these issues, and puts the "platform independent" effort squarely on someone else's shoulders, which in this case is the author of the JVM. Can you name a natively compiled language that requires no third-party libs which comes close to J2SE? -- Jay Oliveri GnuPG ID: 0x5AA5DD54 FCPTools Maintainer www.sf.net/users/joliveri _______________________________________________ Support mailing list [EMAIL PROTECTED] http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
