Version 0 of Tcl vs CplusPlus

Updated 2002-07-12 22:01:34

What madness! Everytime I think of a reason to do something in C/C++, I find a simpler (and quicker) way to do it in Tcl.

This is hurting my (future) employability. In th past, I just watched the C++ coders slowly grind through getting an app up and running, while I secretly implemented an alternative solution quickly in Tcl... I can't bring myself to working (exclusively) in C/C++ again.

Standard C++ has a lot of good things going for it (its not your father's C++), but I find myself constantly re-implementing nice to haves (like fileevent, glob, file, etc) and quickly come to the conclusion that it won't be anywhere near as stable as the Tcl Core implementations --- so I go back to Tcl.

In any I/O bound application (i.e. bound by human interaction, internet connections, etc), I am hardpressed to find C or C++ outperforming Tcl. Or, to put another way, I can send 3-5 emails per second using a pure Tcl SMTP client (homegrown) in one thread of execution. The internet and SMTP is slowing me down. A similiar client in C/C++ is no quicker (and using Java + JavaMail is actually slower).

Tcl + Unix + (insert Tcl bindings to C packages here) = a complete application framework.

-- Todd Coram ranting and raving about nuthin