Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

by Your Mother (Archbishop)
on Oct 25, 2019 at 16:23 UTC ( [id://11107961]=note: print w/replies, xml ) Need Help??


in reply to If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?

Alternative take: I am not smart skilled enough to know what I really want. I’m not a language designer. I could put together a long wishlist and it might well end up as a language I hated to use because it would lack integrity and internal consistency. For all the guff Perl gets about some design choices, like $stuff[1], I think its design is subversively brilliant and partly counter intuitive. I’ve told my tale often: I started “hacking” at 10 or 11 and fell completely away from it a few years later for more than a decade. I never would have come back without Perl because only Perl made it fun.

I do know that environment, ecology is crucial. If it is not easier in the future to create, test, build, vet, and distribute “CPAN” packages than it is today, that’s lead in a swimmer’s pockets. I don’t know how relevant that can be to language changes but I feel like it should be a concern deeper than vanilla backwards-compatibility. Personally, I have had a rough go trying to integrate C-libs into code. I would love for that to be easy. I’d settle for less difficult. That relates directly to catching up the CPAN. There are a lot of mid-level JAPHs like me that would be wrapping up modern libraries regularly.

Replies are listed 'Best First'.
Re^2: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?
by swl (Parson) on Oct 26, 2019 at 03:28 UTC

    Have you tried FFI::Platypus to integrate C-libs? It's much simpler than XS and Inline::C for the same task.

    (I should add the caveat that I don't wrap C-libs myself, but do use and hack FFI based libs).

      I remember hearing about it and forgot to check it out. Thank you much for suggesting it again.

Log In?
Username:
Password:

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

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

    No recent polls found