Loading
Home ›
Pike: A Language with Teeth
Apr 05, 2002 By John D. Biggs
in
A quick history and some examples for using this popular European scripting language.
email: john@bigwidelogic.com
______________________
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- 100% disappointed with the decision to go all digital.
- Parallel Programming with NVIDIA CUDA
- Readers' Choice Awards 2011
- You Need A Budget
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- The Linux powered LAN Gaming House
- Why Python?
- Creating a vDSO: the Colonel's Other Chicken
- buena información
4 hours 48 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
5 hours 49 min ago - Gnome3 is such a POS. No one
15 hours 16 min ago - Gnome 3 is the biggest POS
15 hours 27 min ago - I didn't knew this thing by
21 hours 31 min ago - Author's reply
1 day 55 min ago - Link to modlys
1 day 2 hours ago - I use YNAB because of the
1 day 2 hours ago - Search
1 day 7 hours ago - Question
1 day 7 hours ago





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
to
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! */