Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Anyone with XS experience willing to create a high performance data type for Perl? (Updated)

by etj (Deacon)
on Dec 16, 2021 at 03:17 UTC ( [id://11139656]=note: print w/replies, xml ) Need Help??


in reply to Re: Anyone with XS experience willing to create a high performance data type for Perl? (Updated)
in thread Anyone with XS experience willing to create a high performance data type for Perl?

If there are shortcomings with Inline::Struct, please file an issue so they have a chance of being fixed :-)
  • Comment on Re^2: Anyone with XS experience willing to create a high performance data type for Perl? (Updated)

Replies are listed 'Best First'.
Re^3: Anyone with XS experience willing to create a high performance data type for Perl? (Updated)
by bliako (Monsignor) on Dec 16, 2021 at 12:04 UTC
      They have now been fixed, and released as 0.28. Please report any problems!

        WOW! that's really great and very fast (edit: delivering the fix I meant) indeed. And it works! I have put a comment for enum. Thanks for this!

Re^3: Anyone with XS experience willing to create a high performance data type for Perl? (Updated)
by bliako (Monsignor) on Dec 16, 2021 at 10:05 UTC

    I will, thanks. The above was just a quick hack to get us going.

    Just for the record, the two problems I encountered (and could very much be red herrings) are that Inline::Struct failed when a C struct contained (EDIT: added next word:) typedef function pointers, I believe it did not understand the arcane C syntax (I love it though) : int (*funcpoi)(int, int); . It also did not like typedef enums within a struct. The above is just for the record, I will file a proper report at the channel you mentioned.

    bw, bliako

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found