http://www.perlmonks.org?node_id=523817


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