Pike: A Language with Teeth
The body of this article is still being
converted and will be available shortly.
email: john@bigwidelogic.com
The body of this article is still being
converted and will be available shortly.
email: john@bigwidelogic.com
Linux Journal is the premier source for how-tos, projects, product reviews, expert advice and opinions for everything Linux.
| We're Linux, Again | Feb 09, 2010 |
| Quick Compiz Screenshots | Feb 09, 2010 |
| Welcome to the New LinuxJournal.com | Feb 09, 2010 |
| Symbian Opens Up | Feb 04, 2010 |
| The Small Picture: More OpenOffice.org Extensions | Feb 04, 2010 |
| Pass the Bug, Collect $500 | Feb 02, 2010 |
This week 5 lucky Members will receive a copy of The Official Ubuntu Server Book by Benjamin Mako Hill and Linux Journal's very own Kyle Rankin. No entry necessary. Check back here early next week to find out who the lucky Online Members are.
Linux Journal, currently celebrating its 16th year of publication, is the original magazine of the global Linux community, delivering readers the advice and inspiration they need to get the most out of their Linux systems.
In-depth information provides a full 360-degree look at featured topics relating to Linux, giving a comprehensive source of everything readers need for creating and completing their own projects -- not just tools they will use today, but relevant and encompassing information they will turn to in future months and years. In addition to how-to content, Linux Journal includes opinions, new product information, profiles of leaders making major contributions in Open Source and product reviews. It also covers business, social and technical news and developments in order to fulfill its mission as the central forum and advocate for the greater Linux community throughout the world.

Comments
Re: Pike: A Language with Teeth
"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
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
> 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
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
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
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
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
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
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