Hacker News new | ask | show | jobs
by t6jvcereio 1380 days ago
What other languages?
1 comments

Author here. How about Common Lisp, what the article talks about? :)
Somehow, lisp ends up being really slow. so it's doing something else wrong.
Which Lisp? What applications do you think it is slow at? Hint: It can be faster than C due to compiler macros, and infact, its regular expression engine is much faster than Perl's, which is written in C, just to give a concrete example.
My experience with SBCL disagrees with this. It's not as fast as, say, C++ for some use cases, but it's pretty quick.

Significantly faster than something like Python.

My experience is that even writing "idiomatic", CLOS heavy code tends to be faster out of the box than most dynlangs out there. Writing close to C++ code requires a lot of manual work and is probably not even worth it unless for optimizing hot-paths.
You're probably using O(n^2) idioms, like appending to the end of a growing list.