About The Contest

The first ever Olympiad of Misguided Geeks contest at Worse Than Failure (or OMGWTF for short) is a new kind of programming contest. Readers are invited to be creative with devising a calculator with the craziest code they can write. One lucky and potentially insane winner will get either a brand new MacBook Pro or comparable Sony VAIO laptop.

Navigation

Advertisements

Entry #100199: CatchEverything

by Tobias Neukom
"Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp." (Philip Greenspun)

That's certainly a very good advise. But to get better performance than a LISP interpreter I wrote a LISP Compiler in C++ template code instead of direct code. Since all code is translated at compile time the performance is much better (the C++ Compiler can optimize the resulting code).

Download0 Comments