Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Win32::API equivalent for Unix

by schweini (Friar)
on Jan 17, 2006 at 19:34 UTC ( #523817=note: print w/replies, xml ) Need Help??


in reply to Win32::API equivalent for Unix

i was also wondering something similar:
since playing around with SOAP, i fell in love with the idea that function calls, which make up about 99% of programming, are relativly easily translated from programming language to programming language. would it therefore be possible to create a unified API that has different front- and backends for different programming languages, so that i can almost transparently call e.g. java methods from python, assembler routines from perl, etc.?
now that i typed this, i realize that this is basically what SOAP is, but SOAP has a gigantic overhead for uses like this, and is too invasive...

Replies are listed 'Best First'.
Re^2: Win32::API equivalent for Unix
by glasswalk3r (Friar) on Jan 19, 2006 at 11:48 UTC

    That would be terrific. I miss greatly the Active Perl Win32::NetAdmin module on UNIX. Probably would be possible to use SOAP to get around this, but is still a lot of trouble (and the punishment doesn't seem to fit the crime). Probably would be easier to use the Samba RPC lib and XS, but well... this a lot of trouble too!

    Regarding the SOAP overhead, maybe you would like to check YAML. I never tried it myself but received some reports that it works fine and is more simple than using XML.

    Alceu Rodrigues de Freitas Junior
    ---------------------------------
    "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-03-28 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (167 votes). Check out past polls.

    Notices?