HackerTube

Keynote. Professor Steven G. Johnson | JuliaCon 2019

The Julia Programming Language2 HN recommenders · recommended in 2 months, 2019–2022
YouTube
talk · advanced · evergreen · 2019–2022 on HN

Steven G. Johnson, MIT professor and FFTW co-author, gives a JuliaCon 2019 keynote on metaprogramming and staged programming in Julia, showing how it enables high-performance numerical code and when not to use macros.

Cited for showing how Julia's metaprogramming can beat C and Fortran, along with sound advice not to overuse it.

7 comments from Hacker News

@eigenspace2019-08 · in “JuliaCon 2019 Videos”

If anyone is looking for video recommendations to get started: here’s a couple that I thought were great and should be interesting and approachable to just about anyone. Steven G. Johnson’s keynote address. It’s longer format but really interesting, informative, entertaining and well delivered. The main topic is metaprogramming. ▶ this video Stefan Karpinski’s talk on the unreasonable effectiveness of multiple dispatch. He discusses the fact that Julia has such dramatic code re-use and sharing between libraries and he discusses some reasons why he thinks multiple dispatch is uniquely able to offer this. link

Strongly recommends View on HN
@ViralBShah2020-10 · in “CSV Reader Benchmarks: Julia Reads CSVs 10-20x Faster than Python and R”

You can write slow programs in all languages. There are many cases where Julia's language features enable higher performance than in comparable C libraries. Have a look at Steve Johnson's keynote from JuliaCon 2019: ▶ this video

Recommends View on HN
@mwattsun2022-01 · in “Understanding the Power of Lisp (2020)”

When I first started writing asm code, it was accepted to write self-modifying code (programmatically create new code, then jmp to it.) Then I discovered and was told it was a bad idea. So that's how I view Lisp macros - creating code on the fly and executing it. When I was studying this issue, I came across femtolisp, which is a standalone Lisp by the author of Julia, Jeff Bezanson. Julia has metaprogramming so I wanted to look at it. In this video [1] Professor Steve G. Johnson explains metaprogramming (around 10 min mark) and says "most of the time, don't do metaprogramming." He points out in the base Julia there are 36,798 methods, but only 138 macros and 14 generated functions (.04% of the code), so I have the impression it is still frowned upon. [1] ▶ this video

@IlyaOrson2022-01 · in “Julia Macros for Beginners”

It is not necessarily better in all cases and should not be overused: ▶ this video However, it is useful to provide a nicer syntax and DSLs. Some examples: link link link

@miguelraz2021-06 · in “From Julia to Rust”

What is the focus on numerical computing that you think Julia is missing? The ecosystem seems plenty healthy to me. (Maybe PDEs... but those are so close!) It's not uncommon for good Julia codes to smoke Fortran codebases, like the DiffEq verse or with staged programming, see Steven G. Johnson's keynote at JuliaCon 2019: ▶ this video