Skip to content
0:00 / 0:00

#clojure#fsharp#compiler-design

The Language of the Language: Comparing compiler construction in Clojure and F# - Ramsey Nasser

Clojure/north

1.9K subscribers • 18 videos on Hallway

YouTube
  • Recommended by 4 people: 1 on Lobsters and 3 in engineering communities.
  • Presented by Ramsey Nasser
  • An opinion. It argues one side of a question engineers disagree on.

Advanced. Deep dive for people who know the field.

4K views6 years ago4 recommendations

Programming languagesSystems programmingCompilers and interpretersLisp and ClojureOCaml and F#

Ramsey Nasser compares building compilers in Clojure and F#, contrasting dynamic REPL-driven workflows with static ML-like type systems.

In 2015 I started the MAGIC project, an optimizing Clojure compiler written in Clojure targeting C#'s Common Language Runtime. In 2018 I started work on a Lisp of my own design named Jn that is broadly similar to Clojure but who's compiler is written in F#. These experiences have given me a vantage point to compare Clojure's dynamic REPL driven workflow to F#'s static ML-like type system. The talk will focus on my own experiences with the trade-offs presented by both approaches with respect to compiler design, but will attempt to draw more general conclusions as well.

Why it's here

4 people recommend this

What people say. Highly recommended for its insightful comparison of static and dynamic typing trade-offs when building compilers.

u/yogthosin r/Clojure • Recommends

On “Why not Clojure?”

There's actually a great talk by Ramsey Nasser on his experience building compilers with F# and Clojure. In practice, there are advantages to both in this context.

u/yogthosin r/Clojure • Recommends

On “Why Clojure (Lisp) is good for writing transpilers”

On a related topic, this is a fantastic talk directly contrasting trade offs writing a compiler in Clojure and F#.

Yogthoson Lobsters • Recommends

Comparing compiler construction in Clojure and F#

u/_djbluein r/Clojure • Recommends

On “[Videos] Clojure/north 2020 Playlist”

I really enjoyed The Language of the Language. It does a great job of comparing compiler implementation approaches in Clojure and F#. It's also about the trade-offs between static and dynamic typing.

u/nuggets510in r/Clojure • Recommends

On “Formal Specification of Clojure/Resources on how Clojure is implemented.”

here is vid presentation on compiler construction featuring clojure and .net/CLR as target. this will give you some insights [video

u/yogthosin r/Clojure • Recommends

On “Why Clojure (Lisp) is good for writing transpilers”

This is a good talk directly comparing the trade between writing a compiler in Clojure and F# discussing pros and cons of each.