News for hackers. Stuff that matters.
Re:APL compiler targeting a typed array intermediate language by colejohnson66 on Friday June 24, 2016 @08:20PM (#11974519)
Any particular reason you can't output the length before the array stream? (I don't know APL, but want to learn it)
Re:APL compiler targeting a typed array intermediate language by jxy on Friday June 24, 2016 @11:43PM (#11975104)
The problem is that unix pipe can be blocked and you can see it as a lazy partial evaluation, so grep a HUGEFILE|head returns when 10 lines are found. In APL the semantics is not builtin, though things like ⍴↑↓ can be lazy, it's the internal optimization, rather than a language specification.