Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: C/XS Generator

by plobsing (Friar)
on Jan 25, 2008 at 01:47 UTC ( #664196=note: print w/replies, xml ) Need Help??

in reply to Re^3: C/XS Generator
in thread C/XS Generator

Yes and no.

It provides a moderately good container for data on the Perl side of things, but thats about it. PDL::PP just wasn't cut out for the job I want to accomplish.

PDL::PP is really good at making rich, perlish interfaces. However, since I'm generating the glue, I'm adhering to the principle of least surprise. That entails making all things coming from Fortran "feel" like they would in Fortran.

For example, in F9x calling a non- pure sub with an array that has too many dimensions is illegal. But calling a pure sub with an array with to many dims should thread. In F77, the array should be flattened.

As far as I can tell, PDL::PP can only do the second of these.

There are other issues with things like type-coercion messing up overloading.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-11-30 14:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found