Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^17: Modernizing the Postmodern Language?

by chromatic (Archbishop)
on Jul 09, 2020 at 05:44 UTC ( #11119067=note: print w/replies, xml ) Need Help??


in reply to Re^16: Modernizing the Postmodern Language?
in thread Modernizing the Postmodern Language?

I think it's both, but that may not be entirely true.

XS is a series of macros, yes, but it's also a sort of preprocessor template system for C, so it's theoretically possible to emit different code for different versions of Perl.

In practice, that sounds really difficult to implement.

  • Comment on Re^17: Modernizing the Postmodern Language?

Replies are listed 'Best First'.
Re^18: Modernizing the Postmodern Language?
by LanX (Cardinal) on Jul 09, 2020 at 10:32 UTC
    My take on this is that it depends on the objective.

    If the goal is to simplify accessing Perl internals for module authors, creating a wrapper macro/class ( XSS = XS-Simple ? ) for a new API seems the way to go. Preferably in a modular/ linkable way. Since this would rely on standardized XS it should also be backwards compatible.

    Changing the XS implementation is another beast, while this might benefit core devs I doubt there is a mid-term return of investment justifying the risk.

    Again, theoretical thoughts. If I'm wrong about the details, please enlighten me. :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-09-27 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?