Pike: A Language with Teeth
April 5th, 2002 by John D. Biggs in
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-19-09
- Nov-04-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








Re: Pike: A Language with Teeth
On April 11th, 2002 Anonymous says:
"Although it is not as full featured as Python
or Perl, it is full of useful aspects and has a relatively strong European user base."
Why ? Where ? What ? I don't think any of these languages has a feature that Pike does not. But Pike offers things that the others don't (for example lambda-expressions or a proper type system - things that are not available in Perl).
Re: Pike: A Language with Teeth
On April 25th, 2002 Anonymous says:
yea.. i would be carefull with those perl guys..
they might have things you wouldn't even be able to think of (not that anyone really needs it..)
pike has one thing it really can be proud of:
speed.
Re: Pike: A Language with Teeth
On April 11th, 2002 Anonymous says:
> Pike offers things that the others don't (for
> example lambda-expressions [...] things that
> are not available in Perl).
This is not correct. I do not know the syntax of lambda expressions in Pike. But you can convert
Lx.body
to
sub { my($x) = @_; body> }
in Perl. More exactly: Perl provides anonymous procedures in conjunction with lexical closures.
-- Andreas Borchert (borchert@mathematik.uni-ulm.de)
Re: Pike: A Language with Teeth
On April 11th, 2002 Anonymous says:
Python has a Curses-module that I miss in Pike.
And it has a sound-module, which I don't know anything about.
Perl can be used in Pike-code, so Pike has all of it features ;-)
Re: Pike: A Language with Teeth
On April 11th, 2002 Anonymous says:
The Caudium Group (Caudium.Net) are maintaining Pexts (PikeExtensions) - a set of modules implementing what's missing in Pike (or implementing it in the _right_ way). There's a both a curses and a newt module in there. You can check pexts from their CVS (Pexts cvs at sf.net).
A few Pike links
On April 9th, 2002 Anonymous says:
For some more info about Pike, including some (very simple) sample code,
you can check out this site.
A recent web application done in Pike can be found
here.
Source samples garbled
On April 8th, 2002 Anonymous says:
Too bad the formating of the source samples got botched somehow.
You can't have (true) newlines in pike string literals, you must use
"
" instead -- as in C.
Re: Source samples garbled
On April 8th, 2002 jhs (not verified) says:
Seems your comment got mangled too. :) (the " " should be a C-style "backslash-n" sort of.)
In fact, there is a construct in pike for strings with newlines in them too, though. You can write #"a string
that spans multiple lines in this fashion".
Re: Source samples garbled
On April 8th, 2002 Anonymous says:
Waah! that bit me, too. Let's see if this works:
string a_string_that_ends_in_newline = "Foo!\n";
/* darn, it looked OK in the preview, using Plain Old Text mode! */
Post new comment