Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Back for a limited time - Get 15% off sitewide on Slashdot Deals with coupon code "BLACKFRIDAY" (some exclusions apply)". ×

Submission + - CPAN as a webservice?

An anonymous reader writes: Consider some very large software archive/library — e.g. http://openjsan.org/ (Javascript), http://rubygems.org/ (Ruby), http://cpan.org/ (Perl), http://mvnrepository.com/ (Java), http://pypi.python.org/ (Python), http://github.org/ (various). Lets say you want to automatically generate wrappers that enable remote subroutine invocation (say, some sort of web service call) for the majority of software in this library. What language would you target? Where would you start?

The aim here is a baby step towards language-agnostic reuse of code developed over decades at great collective effort.

My thoughts so far: the only code suitable for exposure are functions and methods that accept and return basic types (int, char, string) — or data structures or objects made up purely of basic types. Introspection/reflection capabilities in a language — including the ability to examine method signatures — are important. Languages like Perl (whose subroutine parameters passed in the @_ array, but without formal subroutine signatures) are a bit of a puzzle.
The Internet

Web Singletons? 254

tcmb writes "There are an uncounted number of web mail and picture sharing services, there are more than enough web sites for online bookmark management and friend-finding, but as far as I know there is only one Internet Archive. Which are the true web singletons, services that exist only once in this form?" And does anything approach the singular time-wasting abilities of IMDB or Wikipedia?

Quark! Quark! Beware the quantum duck!