HackerTube

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

The Julia Programming Language1 HN recommender · recommended in 1 month, 2016–2019
YouTube
talk · advanced · 2016–2019 on HN

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.

4 comments from Hacker News

@newen2018-01 · in “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.

Recommends View on HN
@improbable222019-03 · 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] ▶ this video [2] link [3] link

@ChrisRackauckas2018-05 · in “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.

@vanderZwan2016-07 · 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: ▶ this video As a code generator for the Go assembler: link