APL at Julia's Speed | Shashi Gowda | JuliaCon 2016

The Julia Programming Language1 HN recommenders · 2016–2019
3K views · talk · dated · Uploaded 2016-07-10

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.

Cited in APL and Julia threads as a neat way to run APL-style syntax at Julia's speed.

Watch on YouTube

4 comments from Hacker News

@vanderZwan2016 · in “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: [VIDEO] As a code generator for the Go assembler: [LINK]

@newen2018 · in “Compiling a Subset of APL into a Typed Intermediate Language (2014) [pdf]”

Reminds me of the APL interpreter in Julia ( [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.

RecommendsView on HN
@ChrisRackauckas2018 · in “APL deserves its renaissance too”

In fact, it can get extremely close: [VIDEO] And since you can define your own operators, you could just go all of the way.

@improbable222019 · in “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] [VIDEO] [2] [LINK] [3] [LINK]