Re:From Common Lisp to Julia
by t6jvcereio on Tuesday September 06, 2022 @10:45PM
(#32745799)
What other languages?
[ Parent
| on HN ]
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.
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.