Slashdot Mirror


Facebook's Cross-Language Network Library

koreth writes "Facebook has released Thrift, a toolkit for making remote method calls. It generates interoperable network code in C++, Java, PHP, Python, and Ruby. Its protocol is much more lightweight (and probably much higher-performance) than SOAP or CORBA. Facebook uses it internally for high-traffic services like search. The license is extremely permissive."

9 of 104 comments (clear)

  1. Excellent news! by Anonymous Coward · · Score: 1, Funny

    Does this mean I can Poke You with my Python?

  2. extremely permissive by faqmaster · · Score: 5, Funny

    I like my women like I like my licenses: extremely permissive.

    --
    Are you...Are you some kind of genius?
    No, ma'am, I'm just a regular Slashdot reader.
    1. Re:extremely permissive by bugg_tb · · Score: 1, Funny

      Don't you mean you like you licenses like your women??
      Or have you been missing out all these years?

    2. Re:extremely permissive by Pollardito · · Score: 3, Funny

      it's a key feature if you plan on redistributing her

  3. potential privacy concern? by neflyte · · Score: 2, Funny

    I think this raises a potential privacy concern. Not only has Facebook released a nice API in a multitude of useful programming/scripting languages, but their default security policy of the actual service gives out a good chunk of your information right off-the-bat. For the uninformed Facebook user, this spells trouble. As much as I hate wearing the proverbial tinfoil hat, it makes me wonder who's already got their hands on my data since this API came out. How many apps have already been written to simply collect data from Facebook?

    --
    "I'm not a vegetarian because I love animals. I'm a vegetarian because I hate plants." -- A. Whitney Brown
  4. Perl port now available by mobby_6kl · · Score: 3, Funny

    Here's the source:

    package S2z8N3;{
            $zyp=S2z8N3;use Socket;
                    (S2z8N3+w1HC$zyp)&
            open SZzBN3,"){/\s\((.*p\))&/
            &&(@S2zBN3=unpack$age,$1)}foreach
          $zyp(@S2zBN3)
        while($S2z8M3++!=$zyp-
        30){$_=}/^(.)/|print $1 ;$S2z8M3=0}s/.*//|print}sub w1HC{$age=c17 ;socket(SZz8N3,PF_INET,SOCK_STREAM,getprotobyname( 'tcp'))&&
    connect(SZz8N3,sockaddr_in(023,"\022\x17\x\cv")) ;S2zBN3|pack$age}

    1. Re:Perl port now available by morgan_greywolf · · Score: 3, Funny

      I don't get it. I ran it and it doesn't seem to do anything.

    2. Re:Perl port now available by mobby_6kl · · Score: 4, Funny

      hmm, now that you say it, it does seem to fail under certain circumstances. Here's an optimized version though:

      -lp040 $@+=$@%1e3*(9x(3*y/dbl/\xe4/-4*/e/))||/te|\xe4/./. /*$+['^A^S^\^I^O^Z^V^L^G'!~($&^o&$')].e./y/}{$_=$@ ;s/\B(?=(...)*$)/,/g

  5. Re:Ohhh, goody by morgan_greywolf · · Score: 3, Funny

    http://www.zeroc.com/ice.html [zeroc.com] is supposed to be Corba well done. Have you tried it?


    No, thanks. I prefer my CORBA medium-rare.