Re:Learning Common Lisp to beat Java and Rust on a phone enc...
by eigenhombre on Friday October 01, 2021 @07:10PM
(#28724418)
That would be great! I agree it's not a fair comparison -- the post was meant more along the lines of, "how far can I push Common Lisp and learn some things?" rather than a strict comparison of performance of optimized code in each language. As I said, Clojure is fast enough for my purposes nearly all the time.
[ Parent
| on HN ]
Re:Learning Common Lisp to beat Java and Rust on a phone enc...
by NoahTheDuke on Sunday October 03, 2021 @03:20AM
(#28735200)
I wrote it up here: http://noahtheduke.github.io/posts/2021-10-02-from-elegance-... I'm not a great writer, but hopefully you enjoy it!
I also found a small bug, that you'll want to use `(elt s (+ x 7))`, not `(+ x 8)`. `elt` is 0-indexed, so first and last of an 8 element list will be 0 and 7.