Nix wrote:
On 20 Nov 2006, Giampaolo Tomassoni spake thusly:
That's not even mentioning the metaprogramming and higher-order
programming techniques that we use extensively in SpamAssassin -- those
are basically *just not possible* in C/C++. ;)
Ops. What's this stuff? Let me know.
eval and all that it implies. Compiling and executing code at runtime.
Calling functions by name. That sort of thing.
Of course you *can* do it in C/C++. The traditional method is to write
an interpreter or JIT-compiler for another language and do whatever-it-
is in that other language.
Conveniently Larry Wall et al have done that for us: the `other
language' is of course perl.
Hmmm...
Java's a memory pig.
I could see doing something in C/C++ but definitely not Java...
Similary, for performance reasons I would stay away from Ruby.