Co-dfns Live Stream: Compiler Design and Architecture

Channel:Aaron Hsu (arcfide) · Length:2:03:12 · Published:2017-02-13 · Views:20533

Watch on YouTube

Summary

A two-hour live stream in which Aaron Hsu explains the architecture, design history and aesthetic of Co-dfns, his parallel APL compiler. He walks through the code and the reasoning behind its dense style.

Why HN recommends it

HN readers say it changed their view of APL and array languages, with a clear walkthrough of how a compiler can be written in this style.

Nothing has ever convinced me about the potential for array languages in practice quite like watching Aaron Hsu — HN, 2024

Programming language design · Compilers, interpreters & program analysis

Subtitles (excerpt)

please all right excellent we're getting a few people farming [Music] good well it is three o'clock so welcome everybody and welcome to the first ever co-defense live session and hopefully this will answer a few questions that people have been asking about the compiler and for those of you who aren't familiar with the history of this live stream the um if you look in the chat you'll see the link to The Hacker News Post which is where you can ask any of your technical questions that you have on the compiler and there's a link in there to a previous thread where we discuss one of my blog posts on smaller code better code and this this live session today is particularly interested in focusing on the um the the design aesthetic and the style and the concision and the tricks and the overall architecture that I'm using to design this compiler as opposed to for example some of the the research level questions such as how do we how do we do data parallel compilation things like that um so the way I plan to structure this is how we um I'll I'll go sort of from a top-down level across the compiler and the goal there will be to go through the let me see here I'm just trying to check on the stream here make sure it's still going through all right

On Hacker News

I thought the same about APL until arcfide made a video about codfns a few years back. Was eye opening. [VIDEO] — Nadya, 2024-06
Nothing has ever convinced me about the potential for array languages in practice quite like watching Aaron Hsu describe how he develops his parallel APL compiler [0] using two Notepad.exe windows side-by-side: [VIDEO] He has also written many comments (arcfide on HN) about this stuff before, e.g. discussing "semantic density" [1] > The compiler is designed so that I can see as much as possible w… — refset, 2024-01
One of the most memorable and interesting things I've ever seen on HN was an AMA from the creator of the Co-dfns parallel APL compiler. Here is co-dfns [0] and the AMA by the creator [1]. The video may give you some insight and at the very least may be extremely interesting to hear the APL code explained (jump to around 13:30 for the beginning of the explanation behind the structure + what the co… — Nadya, 2021-07
What use is Chinese for someone who doesn't read Chinese? The S combinator written like that is perfectly legible and fine for someone who is already familiar with the S Combinator. I don't see the problem there and I don't already grok the S Combinator. I do appreciate writing code under the assumption people working on the code would have some level of prerequisite knowledge. I'm sure you'd get… — Nadya, 2018-02
I remember being floored by APL few months ago when I learned about co-dnfs and watched the stream by Aaron Hsu [1] with quotes like "This code is perfectly readable, it just isn't in English". Thing is, when I was thinking about trying it, I never figured out a good toy project. Like, when I wanted to try anything else, most of the time I would know I would be able to cobble together a web-servi… — a-saleh, 2018-05

Related videos