[cl-faq] Some quick thoughts
Brad Beveridge
brad.beveridge at gmail.com
Fri Apr 21 12:04:42 CDT 2006
I'm just reading over the staging FAQ, here are my thoughts:
Q. How come that if Lisp is so powerful, you can't overload functions?
The overloading function has errors IMHO in the C/C++ code.
If you are writing in C, then you do need to use the delegate method,
but you cannot use the same name, ie
int foo (int bar) {
return foo2(bar, false);
}
If you are using C++, then you can declare foo as
int foo (int bar, bool specialCase = false); and continue as normal.
Q: Is Lisp Slow?
1/2 the speed of C is mentioned. I think this page
(http://openmap.bbn.com/~kanderso/performance/) ought to be mentioned.
It should also be mentioned that some larger applications written in
Lisp run faster than the C versions.
It is also pretty hard for a newbie to wring decent speed out of Lisp,
it takes a while to learn how to tune lisp code.
OK, that's pretty much all I can comment on.
Cheers
Brad
More information about the cl-faq
mailing list