3 ms·
Clojure actually has a fair amount in common with Array Languages, at least the mapping and conformation. That being said, I really really like Array Languages
by aeonik 3y ago
Clojure actually has a fair amount in common with Array Languages, at least the mapping and conformation.
That being said, I really really like Array Languages for certain subsets of problems over anything else.
I kinda think every language and have an embedded Array Language engine, kinda like how Regex works so well for text processing.
- cmrdporcupine 3y agoThe key thing is that lisp type (and most functional) languages, including Clojure, emphasize function application and (often) recursion. Array languages try to get you to formulate your problem in terms of batch applications across whole vectors at a time, rather than piece by piece. Which is actually potentially insanely faster on modern hardware where branches are expensive and we have special SIMD and/or vector hardware support.