5 ms·
Is it a deeper rabbit hole than FP? Could you give some links or good array language names?
by G4BB3R 6y ago
Is it a deeper rabbit hole than FP? Could you give some links or good array language names?
- 4ad 6y agoAPL, K, J. Game of life in APL: https://www.youtube.com/watch?v=a9xAKttWgP4 https://www.youtube.com/watch?v=a9xAKttWgP4
- zerr 6y agoHow about some CRUD app examples? :)
- grovehaw 6y agoDyalog is an APL vendor, they also offer a non-commercial license and high quality documentation. They have a case study of a school management system that is a record keeping system [0]. [0] https://www.dyalog.com/case-studies/education.htm https://www.dyalog.com/case-studies/education.htm
- zerr 6y agoThanks! Btw, what would be the open source alternative (of APL) that is popular and used in production?
- yumaikas 6y agoProbably J, if I had to guess. I'm unaware of how much production use it has.
- jetti 6y agoThere is a GNU implementation of APL (https://www.gnu.org/software/apl/ https://www.gnu.org/software/apl/). Not sure if it is used in commercial applications or not. I would imagine that if you are doing commercial work with APL you are going to be paying for Dyalog.
- zerr 6y ago> you are going to be paying for Dyalog Not really. As I see APL is ISO standardized and there are many implementations.
- jetti 6y agoThere are many implementations but not as many that are active (here is a brief list https://en.wikipedia.org/wiki/APL_(programming_language)#Modern_implementations https://en.wikipedia.org/wiki/APL_(programming_language)#Mod...). Dyalog provides more than just a interpreter/compiler but an entire development environment.
- tosh 6y agorabbit hole k: https://web.archive.org/web/20131006150020/http://www.kuro5hin.org/story/2002/11/14/22741/791 https://web.archive.org/web/20131006150020/http://www.kuro5h... https://queue.acm.org/detail.cfm?id=1531242 https://queue.acm.org/detail.cfm?id=1531242 https://shakti.com/ https://shakti.com/
- mseepgood 6y agoWolfram Language / Mathematica, MATLAB, R
- smabie 6y agoNo, not really, None of these are what I'm talking about when referring to "array languages". I'm talking about APL and its descendants, j, kdb+/q, k, etc.
- dnautics 6y agoIf you want something in between, i'd suggest Julia, which has taken a lot of array programming concepts and ported them into a functional language, so you can get the ideas without going so far down the rabbit hole that everything is an array. The problem though might be that those ideas (like Julia's broadcast) are so seamlessly integrated into it's functional paradigm that you won't "really" know which parts are parts where you've been tricked into doing array programming.
- the_optimist 6y agojsoftware.com - GPL license - Extremely well-documented - General purpose - Runs on any platform - 64-bit - C-like performance for many operators - Interpreted, interactive development environment - Package manager - Near-zero boilerplate https://www.jsoftware.com/books/pdf/easyj.pdf https://www.jsoftware.com/books/pdf/easyj.pdf "Array language" describes a pretty generic syntax format wherein an operator acts on multiple inputs. Functional programming is a style that nests nicely with arrange languages. If you know "R," just think of lapply. It's like lapply everywhere, but without the lapply syntax. Every function is vectorized. People who aren't formally trained on loops or object-oriented programming tend to pick this up more easily. That said, you can do OOP and loops in J if you want to.