views:

116

answers:

5

I'm sure we (I'm referring to web developers) have at one time or another used a web scripting language like php, perl, python, or asp.

But, we know you can also write cgi applications in languages like C.

So, has anyone used an unusual language for writting CGI applications? By unusual, I mean a language that is not generally known for writing CGI apps with. Please make sure your answers are about languages you have actually used to write CGI apps - although bizzare languages may be mentioned for humorous effect.

Edit - to make this more educational, please include links to the languages you reference. - unless it's a common language, like pascal.

+2  A: 

RPG, running off Apache on a AS/400.

Danny T.
weird, but I bet you had zero downtime :)
gbjbaanb
For those who don't know what RPG is, I added a link.
George Edison
Only because you didn't have APL, right?
Wayne Conrad
Sorry, I don't know what APL is.
Danny T.
APL is the only language I could think of that's less likely to be used for CGI than RPG. Here's some APL code for you: x[⍋x←6?40]. APL has been described as a "write-only language."
Wayne Conrad
That;s uber geeky...what columns did you have to use for the RPG code - any code available?
tommieb75
That's "standard" RPG code, but it uses the CGIDEV2 (http://en.wikipedia.org/wiki/Cgidev2) dev toolkit to process query strings and produce HTML code.
Danny T.
+1  A: 

What no one has used x86 assembly for their CGI?

Earlz
+1  A: 

I wrote one in Ada once, but I don't consider Ada to be all that unusual.

As a matter of fact, Ada by default is immune to many of the standard buffer overflow exploits, so it is a pretty good choice of language if you want your CGI "script" to be secure.

T.E.D.
Buffer overflows aren't the only concern :)
Geo
+1  A: 

Matlab. Which is pretty strange. Emacs Lisp, which is perhaps stranger. But I think the best strange one was a dashboard for an embedded gadget written in Bash.

Andrew McGregor
+1  A: 

I routinely use Haskell, and like it.

The strangest I have used is probably Ansi M.

Shaun