IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Yeah, but Ruby?
It's slower than Perl, Python, Java, and just about everything else.

All of the above have ZeroMQ clients as well.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New slow vs faster dev time?
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 55 years. meep
New Does it really matter?
Doing it faster in dev time...

Perl has CPAN, its ginormous. If you typically want something its there. Even if you don't like what is there, you can look at it and fix it up or make a new module.

Feck man, Perl is so complete, I have yet to look for something that was there at least in a usable state.

Perl is also very fast. So fast it makes my head spin on fast new hardware. Heck on 6 year old hardware its fast. Even on 500MHz P3 hardware its fast.

Dev time is far out-trumped by production speed anytime. Perl is scalable and very well known by many people. Yes there are more Java and C# junkies out there... but a good Perl chef can whip something together just as fast and work it.
New Nope
I would never suggest Perl for anything other than batch processing (with hesitation) or shell scripting.

We've got a few hundred thousand lines of it here. Never never never. Well, maybe if you have 4 Bens or Barrys on staff, but in the hands of mere mortals and people who think they are gods it's a swamp.

I'm sure Barry will have something to say about this, but Perl is too dangerous in the hands of people who like complexity.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Agreed
90% of teaching a perl programmer is forcing him to read the Tao of Programming and quizzing him on it, and then read the 1st several chapters of the AUP, and quizzing him on it, and really pounding in that other people were going to maintain this code. Some day. Every piece of code has a life, and it may outlive you.

Do NOT force the next guy to decode your brain state.

I would not allow him to code for about 3 days because he didn't do his homework. Allow is a bit strong, but when I refused to review his code, it sunk in.

So anyway, most never got this stuff beat into them, they whipped out some code, it seemed to work, and a new career was born.

He's decided to dive into Lisp for a bit and is working in the Eclipse environment. It annoys him when he is doing an exercise that he could just whip out in Perl. I told him to withhold judgment until he got all the fundamentals of the language.

Anyone here know Lisp? I sure don't.
New I with I did know lithp.
It thure theemth interethting.
New I've done LISP
I wouldn't say I know it, however. It's one of those languages that takes a long time to master.

I personally don't find it all that compelling versus the cognitive load required.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Depends on the industry
Dev time is far out-trumped by production speed anytime.

In the financial industry, sure. And airline booking ... anything with insanely high transaction volumes. But for the rest of us, where the majority of execution time is handling user interface, dev time is far more valuable.
--

Drew
New Not in the financial world
Here it's about transaction speed, safety (very conservative), and then time to market.

Dev time with Python is just as fast as Ruby (better in my opinion).

Where are you hearing this from? I'm very curious.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New I seem to recall
complaints about Java being slow at one point.
New Re: I seem to recall
The prodigious throughput of modern hardware has rendered moot many (but not all) of the traditional performance differences between platforms such as Java and those which are natively compiled.

Certainly, Java is Fast Enough these days for most things.
New Yes but...
Perl is *SO MUCH* faster than Java on equivalent hardware with similar loads.

Heck, we use a Java Data Warehouse Reporting tool. It sucks.

We have made it into a "Presentation only" tool. We can do the same report data extraction with Perl and Shell on 6 year old hardware in 1/10th the time and passing fully populated short-term/temporary tables to the "tool" to render the "PDF" or "XLS" or what have you, than if the whole thing with was done almost brand new hardware withe the "tool".

Yes, its true, if you want faster clustered performance out of Java, just add more cores/processors and memory. But the point is, I can get nearly 90% more work done on older hardware not using Java.

No to mention, start-up loading times for Java *really* blow on new hardware. Worse than the time does for even the BIGGEST Perl programs we have on 6 year old hardware.

Its hard to believe that Intel and AMD doesn't praise Oracle (formerly Sun) for making Java such a pig!
New Re: Yes but...
Perl's a maintenance horror.

Java, less so.

If I save £20K on hardware but burn through an additional £50K in software maintenance (easily done), I'm £30K down; for all but the most performance-critical applications, no one upstairs is going to care that it's OMG FAST!!, they're just going to extract my gonads for overspending.

My experience is that, for a bespoke system with (say) a five year lifespan with software maintenance (not just bugfixes, but features and stuff) included, hardware is 10% or thereabouts of the total cost.
New We aren't experiencing...
Maintenance horrors. Its only because you can't find good Perl coders. Sucks to be you.

We write maintainable Perl. Even the stuff 10 years old is still easily maintainable, a bit archaic, but easy to maintain.

And you are talking different budgets and types of expenditures. Capital Expenditures are typically horribly hard to push through and justify. If you've got wetware already working... its easy to have them fix it.

Though, you don't have good (as in real ones not "think I am") Perl programmers.
New You are confusing two things:
Java the language vs. poorly written Java programs.

Straight out, Java is considerably faster than Perl. For maintenance, with similarly skilled developers, Java is better than Perl. Hell, Python is faster than Perl, and significantly easier to maintain as well.

For startup, well, Java isn't meant to be run as a short-run script like Perl. Startup time doesn't matter for anything other than a script that runs in an amount of time similar to startup time, after all. For batch processing, long-running server processes, and other such programs it simply doesn't matter.

Incidentally, if you're talking about Pentaho then yes, it really truly sucks. Don't use it. I'll add, however, that general reporting tools are usually slower than custom-built scripts. The former might not need a programmer involved, however, and the latter definitely does.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New And they're working on it
But again, financial companies are about conservatism and safety.

Incidentally, we have some Java code here that runs significantly faster than the exact same code in C++ (parser and expression language execution). Both implementations were written by people I consider to be extremely capable, and both have been tuned within an inch of their lives, but the Java is still faster.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Now that is...
Effing unbelievable.

But coming from you Scott, on this kind of stuff, is significant!
New Re: Now that is...
Java optimizes the code that's running. C optimizes the code you're going to run. The difference can be significant.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Damn straight
It optimizes with knowledge of data flow history and code path transversal. A few passes of data and it can rewrite your core hot spots. CPUs just got fast enough that this type of optimization is possible in real time and people don't get annoyed by the initial "sluggish" moment while the overhead of the optimizer tanks the system.
     Lisp or Smalltalk or something else? - (crazy) - (28)
         Dunno. But on the perl stuff... - (Another Scott) - (1)
             Oh, he schemed - (crazy)
         #2 == Squeak - (folkert)
         Re: Lisp or Smalltalk or something else? - (malraux)
         squeek is interesting but dunno how marketable - (boxley) - (23)
             Ruby and financial companies - (malraux) - (22)
                 they use the mq for messaging -NT - (boxley) - (21)
                     You mean Perl MQ? - (folkert) - (1)
                         no - (boxley)
                     Yeah, but Ruby? - (malraux) - (18)
                         slow vs faster dev time? -NT - (boxley) - (7)
                             Does it really matter? - (folkert) - (5)
                                 Nope - (malraux) - (3)
                                     Agreed - (crazy) - (2)
                                         I with I did know lithp. - (pwhysall)
                                         I've done LISP - (malraux)
                                 Depends on the industry - (drook)
                             Not in the financial world - (malraux)
                         I seem to recall - (S1mon_Jester) - (9)
                             Re: I seem to recall - (pwhysall) - (4)
                                 Yes but... - (folkert) - (3)
                                     Re: Yes but... - (pwhysall) - (1)
                                         We aren't experiencing... - (folkert)
                                     You are confusing two things: - (malraux)
                             And they're working on it - (malraux) - (3)
                                 Now that is... - (folkert) - (2)
                                     Re: Now that is... - (malraux) - (1)
                                         Damn straight - (crazy)

Trouble with a capital "T" and that rhymes with "P" and that stands for pool!
103 ms