J / K / APL Training

I know that all 3 are connected with each other, and I saw a lot of answers to problems in Project Euler , written in J, and several written by K. What I’m interested in is that you would suggest studying, and where would you advise collecting materials so that find out this?

+7
tacit-programming j apl k
source share
6 answers

APZ

Created by Kenneth Iverson as the source array programming language. Uses a character set other than ASCII because there are no reserved words. The British APL Association contains an updated list of translators (both free and commercial), as well as information on the languages ​​supported by the APL below.

A +

Created by Arthur Whitney as a sequel to APL. Source code is available under the GPL, as well as the included XEmacs extension. Download from website .

J

Created by Kenneth Iverson and Roger Hui, this requires only ASCII characters. The source used the money, although it was recently released under the GPL. Download from website .

TO

Another language of Arthur Whitney, it also uses ASCII characters. The company behind this has since been decommissioned, but there is an open Kona .

Q

Built on top of K to enable SQL-like query / join capabilities (tables are built-in containers), this language is built on processing large amounts of data. The non-commercial licensed version can be downloaded from the website .


As for the actively used one, Q is quite popular in finance, while J has some support from academics and amateurs. These two are the best choice for programming arrays these days.

+8
source share

Given the nature of individual languages ​​and the availability of material, I am going to go with J.

The current J interpreter is not open source, but a language specification. Therefore, if the official J interpreter is no longer free, an open source project can implement it.

K seems to be dead and replaced with Q. All licenses for it seem to be property, and it seems more difficult for the interpreter to find (because they are trying to sell kdb, not Q).

I can not find the version of APL to use.

+2
source share

See APL faq in the section: Where can I find APLs for machine X?

There is also a wiki that has information at http://aplwiki.com/Frontpage

+2
source share

You can always try A +. Free http://www.aplusdev.org/

This APL language has turned into J and Q

+1
source share
+1
source share

There is a free APL interpreter called NAS2000, but I believe that it is only useful for proving the concept. Sometimes I get the wrong results (I programmed in the APL several years ago for everything: from 8K IBM 1130 to PC / XT, and sometimes I think the results are wrong), but in other cases they are just awfully slow. The best case in J is as fast as everyone. I never used K, I tried to make about 100 Euler problems in J, and I'm just starting to understand the rank. (About 10 of them, I made in D, one in Lisp with support for computing in J and one in an integer linear programming package, which I then left for D when I found that it would not give me the correct answer, despite what I considered correctly coded constraints.

J is essentially a mathematical language, and it works well for most of Euler’s problems, so just doing them and doing them, browsing jsoftware.com when you need it, is the best you can do.

0
source share

All Articles