Slashdot Mirror


Pike 7.6 Released

An anonymous reader writes "Today version 7.6 of the Swedish programming language Pike was released. Some of the noteworthy additions are support for the Bittorrent protocol, the OBEX protocol (to communicate with cellular phones), IPv6, PGP and Bz2. If you want to beat the crap out of your Python/Perl program speedwise, try porting it to Pike..."

5 of 67 comments (clear)

  1. How much faster? by EnglishTim · · Score: 3, Interesting

    The poster implies that Pike is faster than perl and python, but by how much? A little extra speed does not in general outweigh the benefit you get from the large libraries that perl and python have.

    Why would someone want to use pike rather than a better-known langauge?

  2. Or use compiled Python.. by Anonymous Coward · · Score: 2, Interesting

    If you want to beat the crap out of your Python/Perl program speedwise, try porting it to Pike...

    Or use the Psyco runtime compiler for Python. It gets to within 50% (or more) of the performance of C in many cases.

  3. Pike has cool new concepts by Anonymous Coward · · Score: 2, Interesting

    Like this, for example:

    private void
    show_user(int|string id, void|string full_name)
    {
    write("Id: " + id + "\n");
    if(full_name)
    write("Full name: " + full_name + "\n");
    }

    notice the first argument can be either a string OR an int - but nothing else. Sort of like limited generics.

  4. Re:kinda OT by LWATCDR · · Score: 3, Interesting

    The question is that level of abstraction always a good thing? What about graphics? Is the display a file as well? sound? I admit Plan9 is interesting I will have to try it out in my free time :)

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  5. Speeding up Perl/Python by osewa77 · · Score: 2, Interesting

    What about simply using C++ or Java for the performance-intensive aspects?