Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Are monks hibernating?

by talexb (Chancellor)
on Feb 14, 2007 at 15:26 UTC ( [id://599965]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Are monks hibernating?
in thread Are monks hibernating?

      For speed you do have to go to C or assembler

    You certainly don't have to drop that far. I certainly wouldn't entertain doing much of anything in a language that doesn't support automatic memory management.

Well, that was a 'turning of the knob' thing -- how fast do you need to go? Can you write the thing in Perl and thing do some performance analysis to find the hot spots, then code those bits in C to get the speed up?

    Maybe that's a necessary penalty for the benefits of using a dynamic language, but even without jit, Java seems to do a whole lot better.

Perhaps, but Java just seems to be so clumsy and backwards to me -- I love the simplicity of C. You know exactly where you are at all times. If necessary, I'd probably build some OO routines and 'pretend' to do C++; just pass Container objects around that hold onto the collection of objects that I'm working on.

But this is a conversation that's tough to do over PM posts and morning coffee when it could be much more fun over a beer and face to face.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^6: Are monks hibernating?
by BrowserUk (Patriarch) on Feb 14, 2007 at 16:38 UTC
    Java just seems to be so clumsy and backwards

    I don't like Java either, though I place most of the blame for that on the horribly incestuous standard libraries. But the separate compiler/interpreter; distributable bytecode; and runtime performance are nice.

    I'd probably build some OO routines and 'pretend' to do C++;

    You should definitely take a look at D. It does automatic memory management, OO, hashes, delegates, mixins, Perl-style fors and a whole lot more, Think C++ without the mess and verbosity. C without the pain. And it's fast.

    Now, if I could drop into Inline::D and transparently use Perl's hashes, objects and memory management...


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://599965]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found