News for hackers. Stuff that matters.
Re:From Common Lisp to Julia by michaelfiano on Tuesday September 06, 2022 @10:48PM (#32745821)
Author here. How about Common Lisp, what the article talks about? :)
Re:From Common Lisp to Julia by t6jvcereio on Tuesday September 06, 2022 @10:53PM (#32745850)
Somehow, lisp ends up being really slow. so it's doing something else wrong.
Re:From Common Lisp to Julia by michaelfiano on Tuesday September 06, 2022 @10:58PM (#32745884)
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.
Re:From Common Lisp to Julia by na85 on Tuesday September 06, 2022 @11:11PM (#32745947)
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.

Re:From Common Lisp to Julia by TurboHaskal on Wednesday September 07, 2022 @02:37AM (#32747217)
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.
Re:From Common Lisp to Julia by pfdietz on Wednesday September 07, 2022 @11:56AM (#32752332)
You're probably using O(n^2) idioms, like appending to the end of a growing list.