Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: High-magic and low-magic?

by boftx (Deacon)
on Nov 28, 2013 at 06:10 UTC ( #1064746=note: print w/replies, xml ) Need Help??

in reply to High-magic and low-magic?

I met Will last month at an Austin PM meeting and had a rather lengthy discussion with him about RPerl. It is my impression the he has introduced those terms, and they are an attempt to differentiate between Perl operations that have direct counterparts in C++ vs. those that require additional massaging.

I agree that RPerl might be valuable for new projects that require as much speed as possible (think major web apps) but I suspect that it will be impractical in most cases to re-code existing any but the smallest existing projects. This seems to be especially true when one considers all of the popular CPAN modules that would need to be re-coded if one expects to see any significant speed boost in code that uses them. (That is not to say that many of the most popular modules would not benefit from such a make-over if RPerl lives up to its potential.)

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Replies are listed 'Best First'.
Re^2: High-magic and low-magic?
by daxim (Chaplain) on Nov 28, 2013 at 10:14 UTC
    I agree empathically. "If you build it, they will come", Where "it" eq the possibility of writing optimisable Perl code, "they" eq optimisable Perl code.

    IMO we are better off with the efforts of RPerl (et cetera Perl11/JIT whatever), even if it's just experimental right now, even if it turns out not to be practical or workable. Just opening up the discussion and getting people to think oriented towards the future is valuable.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064746]
[Lady_Aleena]: Um, what?
[james28909]: check is is data or hash or array and do tasks then return needed data
[Lady_Aleena]: james28909, you might want to look at the other two on my scratchpad.
[james28909]: after you send to a sub, you can check if it is array or ref ect with ref
[james28909]: check if it is a hash or an array ect with ref in one sub.
[james28909]: like all the subs calling get_data get_array get_ect, you could just use get_data. once you send the data to get_data, check if it is a hash or an array ect. and do functions for each, in one sub
[james28909]: that looks like it would be alot more work than just renaming the sub though lol

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-05-24 04:54 GMT
Find Nodes?
    Voting Booth?