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

Re^7: It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

by liz (Monsignor)
on Jul 17, 2018 at 12:48 UTC ( [id://1218658]=note: print w/replies, xml ) Need Help??


in reply to Re^6: It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?
in thread It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

There is no interface to static libs, as far as I know. At the moment, support for static libraries is very low on a long list of features waiting to be addressed. Sorry.

Replies are listed 'Best First'.
Re^8: It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?
by syphilis (Archbishop) on Jul 18, 2018 at 12:38 UTC
    support for static libraries is very low on a long list of features waiting to be addressed

    That would be a bit of an issue (but probably not a blocker) for me if I was wanting to code in perl6.
    On Windows I build static libs only where practicable.

    Cheers,
    Rob
      Actually, after consulting with people who know more about this than I do, it turns out it should be theoretically possible. You would have to link your static library into the MoarVM executable (which could be hairy). But after that, assuming your function is named "frobnicate" and it takes a single 64bit integer and returns a string, it would be a matter of:
      use NativeCall; sub frobnicate(int64 --> Str) is native {*}

Log In?
Username:
Password:

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

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

    No recent polls found