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..."
For example, if Java supported BitTorrent, it could look like this:
...
BitTorrent torrent = new BitTorrent();
torrent.get("Star Wars Episode 3.avi");
It's the same as how PHP supports the ftp protocol.
The language shootout page gives an idea - it's up there with Java!
The world has changed and we all have become metal men.
There is at least one more noteworthy addition in Pike 7.6: the support for the semantic web formats RDF and OWL.
Things have changed quite a bit, still a bit behind java though (see this more recent shoot out); OTOH I hear a *lot* has happened between 7.4 and 7.6.
.. it's the way of writing code. It's just lovely.
The biggest nicety with pike is not the speed though
Rerunning parts of the shootout with recent versions of the most interesting languages gives this for me (do view source for proper formatting):
row 1: ackermann 8
row 2: ary3 7000
row 3: fibo 32
row 4: hash 1000000
row 5: hash2 200
row 6: heapsort 100000
row 7: lists 128
row 8: methcall 1000000
row 9: nestedloop 20
row 10: objinst 1000000
row 11: random 1800000
row 12: sieve 1000
row 13: strcat 5000000
Java PHP Perl Pike Python Ruby TCL
1: 4.13 12.72 4.89 0.61 4.55 9.32 Failed (Ackermann)
2: 1.69 11.87 4.85 1.38 3.06 8.61 14.88 (ary3)
3: 2.90 12.09 6.69 1.44 4.27 6.96 11.57 (fibo)
4: 6.85 5.92 5.57 4.71 3.69 17.90 7.83 (hash)
5: 7.15 4.95 3.98 2.28 2.93 3.98 5.11 (hash2)
6: 1.53 8.59 3.57 1.12 2.54 6.29 8.34 (heapsort)
7: 5.54 Missing 3.21 2.76 2.06 2.43 27.30 (lists)
8: 2.18 Missing 6.70 2.15 4.68 3.47 Missing (methcall)
9: 7.30 Failed 17.92 0.90 13.52 35.70 34.25 (nestedloop)
10: 3.65 Missing 13.08 3.34 5.68 6.19 Missing (objinst)
11: 1.99 5.81 2.33 2.30 2.94 5.96 5.85 (random)
12: 6.59 Failed 12.27 4.66 9.77 18.19 50.58 (sieve)
13: 3.19 4.63 2.30 1.78 4.46 3.73 7.05 (strcat)