1. Home
  2. Computing & Technology
  3. C / C++ / C#
David Bolton
David's C / C++ / C# Blog

By David Bolton, About.com Guide to C / C++ / C#

Pike - An open Source Interpreted Programming Language (In C)

Tuesday October 27, 2009
There are many programming languages out there that you will have heard about. Pike on the other hand is a new one to me. Written in C, it's an interpreted, object-oriented programming language. It looks a bit like C and C++ and C#, but it is much easier to learn and use. It's object oriented, interpreted, very fast, includes garbage collection and is easy to extend.

Developed in Sweden, this is very much an ongoing development with over 200 lines of code added in the last week. This what pike looks like:

int main()
{
  write("Hi there! What's your name?\n") ;
  string name = Stdio.stdin->gets() ;
  write("Nice to meet you, " + name + "!\n") ;
  return 0;
}

What makes it different is that it's interpreted. You can type in a statement and have it execute (if meaningful) immediately. As well as the documentation on their site you can also find some examples of Pike in PLEAC (Programming Language Examples Alike Cookbook).

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.