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..."
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?
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.
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.
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.
What about simply using C++ or Java for the performance-intensive aspects?