Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^8: Real life uses for closures. (update: disambiguation)

by BrowserUk (Pope)
on Feb 14, 2013 at 20:09 UTC ( #1018777=note: print w/replies, xml ) Need Help??

in reply to Re^7: Real life uses for closures. (update: disambiguation)
in thread Real life uses for closures.

Anyway.... I've taken us way off topic. I apologize for rambling in your thread. :)

Actually, you haven't. The underlying motivation behind my asking the OP question was itself pretty off-topic -- though underlying that is very Perl-related -- and it is my belief that a truly modern (rather than a labeled-modern dialect), computer language like C++11 (or D2 or few others), is the future of Perl.

That is to say, I think that everything that is wrong with Perl5; and all the things that have gone wrong with the previous and ongoing attempts to implement Perl6; are firmly routed in the archaic programming languages and practices that have been and continue to be used to implement their infrastructure:

  • Using macros to force inlining -- whether beneficial or not -- instead of inline functions.
  • malloc & free rather than RAII;
  • The pile'em high, wherever-it-fits heap-based memory use.
  • Pointers instead of references;
  • Consting & copying rather than move semantics in an attempt to solve the shared state problem.
  • Emulating a register-rich cpu in software, atop inherently register-poor, stack-based hardware.
  • Non-reentrant libraries, non-PIC, and god-object context encapsulation.
  • Code that leaves the requirements of multi-threading to be retrofitted as an afterthought.

Until and unless truly modern coding practices are used to (re-)construct the infrastructure required to support dynamic languages -- Perl -- they will surely become less and less relevant in a modern world.

So far from off-topic rambling, your bringing up C++11 was right on-topic for the thought processes that led to this thread. Thank you.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018777]
[choroba]: I don't even remember the beginning
[choroba]: someone told me to use perl instead of sed for something, and several years later, I'm developing a huge Tk application
[Discipulus]: choroba started in primary school to get some advantage in the future..
[choroba]: nono, I programmed in Basic at the primary school, on my Commodore 116/16
[Discipulus]: ;=)
[choroba]: then learned some assebly on the same machine, then moved to my father's PC (XT with a Hercules card), used Turbo Pascal a lot
[choroba]: I started with *nix at the University, we had some Sparcs and Linux machines
[choroba]: that was around 1994 or 95
hippo actually introduced Linux to his university.
Discipulus mmh will be a fun meditation: How I started with computers and programming..

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2018-06-22 09:37 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (123 votes). Check out past polls.