|
In fact, I prefer RPG procedures because I can pass multiple
input/output parameters; it's a very nice technique.
Date: Sat, 7 Mar 2009 12:19:04 -0600
From: joepluta@xxxxxxxxxxxxxxxxx
To: java400-l@xxxxxxxxxxxx
Subject: Re: Java and OO Concepts
Thorbjoern Ravn Andersen wrote:
So you like words (four byte values?) as they can be atomically comparedNot to travel too far down this road, but multi-byte compares in i5/OS
instead of the more complex String comparison?
are pretty low-level, and I don't think it's so much of a word thing.
Power chips are 64-bit machines, anyway, so my guess is that if you go
that far down anything less than eight bytes is a pretty fast compare.
An RPG aversion against calling subroutines? *B*Not sure what you mean by this. I have absolutely no aversion to
calling subroutines or procedures. Good RPG, especially /free, is
every bit as modular as Java or indeed any other language. In fact, I
prefer RPG procedures because I can pass multiple input/output
parameters; it's a very nice technique.
Or just the subconsious doing continouos microoptimizations? That isI don't ever eant to get rid of continuous micro-optimizations. That's
really a mind set hard to get rid of :)
why my code is very, very fast.
I'd like to hear them. Get it all out! Feel better!!Nope. I've done it in the past. The BigDecimal alnoe is enough to kill
the entire language in my estimation. Add in a lack of an integrated
ISAM database and I get ill thinking about writing real business
applications.
So these performance problems is not per se the fault of the JVM butI think the JVM is a work of art. I think the i implementation of the
somebody doing stuff in the wrong place, if I understand you correctly.
Probably much worse than allocating a few extra String objects :)
JVM, especially the seamless integration between Unicode and ECBDIC, is
nothing short of genius.
But I think the big problem with some Java projects is that the
programmers use classes without understanding them, and then someone
else builds on those classes, and then someone else builds on those, and
by the time you're done you have steaming fetid piles of doo-doo. :)
It depends on the programmer, of course. Some programmers are more
doo-doo-prone than others.
I agree on the varying quality of open source projects. That is whereJust don't put the latter into production. Use it for proof of concept
reputation comes in - I tend to expect more from a mature Jakarta
project than from a stale sourceforge project with a single developer,
but both may be very useful to you in the situation.
then rewrite it if you need it.
Joe
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.