Pike Scripting Language
ulrikp writes "The vikings have done it again! The Swedes at Linköping University (home of the cool Lysator archives) have released a new version of their Pike scripting language. It is similar to C++ and C#, but is apparently more type-safe than either. It is interpreted, and runs on many OS's, including Linux, Solaris, and Windows. Check it out!"
The MUD systems built with the language are very interesting as well; they generally have a central "game driver" object that handles the game objects and their heart beats with an internal call queue approach. This was guaranteed to keep the world and objects "live" at all time even if some of them failed. It was very common to have new areas being built on MUDs while the game was running, new objects being coded and recompiled on the fly.
Most of the MMORPG games built today have nowhere near this level of sophistication that MUDs reached back in the 80's. Maybe some of them would do well to look at Pike. :-)
Welcome back, LPC! We missed you!
Jouni
Jouni Mannonen | Game Designer, Consultant
The vikings originated from the entire scandinavian peninsula including Denmark. The difference is that the eastern vikings mostly traded eastwards on the rivers of todays Russia, while the the vikings from todays Norway travelled westward on the Atlantic Ocean.
The reason is historical. The static keyword was inherited from C at a time when there was a one class/file limitation in the compiler. The interpretation was then similar to the interpretation of static for global symbols in object files.
NB: It wasn't until late 1996 there was a syntax in Pike for having multiple classes/file.
I can build and run Pike okay on Linux, but building on Cygwin complains about unresolved externals (shmget and other shm* functions). I then #undef'd the appropriate code in memory.c to disable shared memory support, and re-make. Pike.exe appears to link without errors or warnings but the final pike.exe is not functional. All pike scripts appear to run, but do nothing and print no error but the shell returns "10" when queried via echo "$?".
Any ideas?
Is Pike supported on Cygwin?