News for hackers. Stuff that matters.
Re:Why is Common Lisp not the most popular programming langu... by taeric on Wednesday February 14, 2024 @06:38PM (#39377125)
I'm trying to understand why lists matter. Yes, there are some oddities where some base constructs don't play as well with hashmaps as they do with lists, but it is far from difficult to work with a hashmap. Or an array. What difficulty are you talking about, specifically? (Genuine question.)

Biggest difference I know of, off the top of my head, is the LOOP macro having constructs that care which one you have. Curious if there is more.

Re:Why is Common Lisp not the most popular programming langu... by QuadmasterXLII on Wednesday February 14, 2024 @08:37PM (#39378100)
O(1) access to the nth item turns out to be more important than O(1) insertion.
Re:Why is Common Lisp not the most popular programming langu... by taeric on Wednesday February 14, 2024 @09:12PM (#39378323)
You'd be surprised how many exponential loops are in successfully run stacks. :)

But yes, when it matters, it matters. Luckily, it isn't hard to use appropriate data structures. Also luckily, a surprising amount of code will linearly process data.