APL at Julia's Speed | Shashi Gowda | JuliaCon 2016
Why Hacker News recommends it
Cited in APL and Julia threads as a neat way to run APL-style syntax at Julia's speed.
What it is
A JuliaCon 2016 talk by Shashi Gowda showing an APL implementation in Julia. APL code is translated to Julia and JIT compiled to machine code.
Recommended by 1 HN commenters across 1 different months, 2016 to 2019.
What Hacker News said
Recommends newen · 2018-01 · on “Compiling a Subset of APL into a Typed Intermediate Language (2014) [pdf]”
Reminds me of the APL interpreter in Julia ( [this video] ). The APL code gets translated to Julia data structures, which is then mapped to Julia code, which is then compiled to machine code via Julia's JIT. I thought it was a pretty neat way to run APL.
Cites vanderZwan · 2016-07 · on “Rust: The New LLVM”
Once static compilation gets off the ground, I wonder if Julia isn't an easier target for "high level LLVM". The whole language is built to be extensible, and people are already using it in comparable ways. APL implementation: [this video] As a code generator for the Go assembler: [LINK]
Cites ChrisRackauckas · 2018-05 · on “APL deserves its renaissance too”
In fact, it can get extremely close: [this video] And since you can define your own operators, you could just go all of the way.
Cites improbable22 · 2019-03 · on “APL – A Glimpse of Heaven (2006)”
I just found that there's a Julia package for at least some APL syntax, perhaps an easy way to play. [3] is a fork updated for v1.0: [1] [this video] [2] [LINK] [3] [LINK]