Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: I will be vindicated

by simonodell (Acolyte)
on Jul 12, 2011 at 19:11 UTC ( [id://913990]=note: print w/replies, xml ) Need Help??


in reply to Re: I will be vindicated
in thread I will be vindicated

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: I will be vindicated
by chromatic (Archbishop) on Jul 12, 2011 at 20:29 UTC
    What I am trying to communicate / establish is simply like that, a method, a syntax if you like, of structuring an xmlesque sting of characters such that encapsulated within it is a structure which neatly sits the results of various computations together into an output when computed using the simple rules.

    That sounds like Scheme, or any system with a tree-based representation of computations and encoding expression evaluation order. The correspondence between XML and S-expressions is well understood.

    The problem with textual representations of tree (well, in this case, graph) structures is balancing the cost of serialization and deserialization with the desire for programmer expressivity and maintainability—the same as with any other programming language.

    I've written similar code myself. (I suspect a fair percentage of experienced Perl developers have written and discarded their own templating systems.) Performance problems tend to come from not lexing and parsing templates into the appropriate graph structures and instead relying on greedy regular expressions to perform textual substitutions. Your big-O performance is probably abysmal based on the size of the template.

Re^3: I will be vindicated
by The Hindmost (Scribe) on Jul 13, 2011 at 16:02 UTC
    Just a couple of small questions/points:

    "that much I can tell you from my own experiments"

    Can we please see these experiments? Or at least the results of them, so that others can attempt to replicate the improvements that you have claimed, and possibly offer ways of improving upon your technique so that it wont require "the server hardware of 2016 at least to be a viable platform for large scale sites".

    "but the framework I wrote for it is a bunch of modules which break all the rules and you won't like them at all."

    Again, could we please at least see them so that the community can judge?

    "If not then I will be forced to abandon perl because I can't see anyone wanting to employ an apparently raving loony, who the monks nailed up with their -- clicks, should they happen to google my name and find my content here."

    Unfortunately that might be a valuable lesson.

        That looks pretty good, ++ for an interesting system, it's just a pity that we don't (and probably never will) have anything to put into it to compare with.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-29 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found