3 ms·
As a random aside, why do APL programmers try to import their idioms into C? Take a look at the VM code in J or Kona and prepare for a shock. It's too bad. I f
by dmpk2k 13y ago
As a random aside, why do APL programmers try to import their idioms into C? Take a look at the VM code in J or Kona and prepare for a shock.
It's too bad. I find VMs interesting, but I wouldn't touch that C with a ten-foot pole. It's IOCCC quality.
- gruseom 13y agoIt's a distinct style of C that evolved over decades for implementing APLs. It's more akin to an embedded DSL than it is to normal systems code, and the reason people use it is not that it's obscure but that it fits the problem space well. The "shock" of looking at it is exactly the same as the shock of looking at APL or K programs to begin with. They don't look anything like code that most people are used to, but since they tend to be highly regular, the impression of noise is misleading.
- dmpk2k 13y agoI'm not sure a general lack of useful commenting and a subsistence on single-variable names is defensible. It sure seems like a case of "You can write Fortran in any language".