Notes on Clojure for .NET, from its developer. Some posts follow ClojureCLR.Next, a rewrite of the ClojureCLR engine in F#. Others dig into the current ClojureCLR: how its compiler works and what’s new in it.
Projects
ClojureCLR.Next
A ground-up rewrite of the ClojureCLR engine in F#: the core data structures, numerics, concurrency, and the design decisions behind them.
ClojureCLR
The current ClojureCLR implementation: how its compiler works, new language features, and performance work.
Series
Topics
Design 9Data structures 16Numerics 4STM 3Benchmarking 4Performance 1Compiler design 11Compiler 2Types 2Language features 2Miscellaneous 1
Recent posts
-
Stringulation
I’ve been stringing you along for years. Time for a (breaking?) change?
-
Runtime async
Starting with .NET 11, the .NET runtime now offers runtime support for async/await. The latest release of ClojureCLR (1.12.3-alpha6) provides experimental support for this feature. In this post, we’ll take a look at what async/await, how it works on the CLR, and how ClojureCLR supports it.
-
C4 - Is there a protocol for that?
We take a look at how Clojure protocols are implemented.
-
C4 - Key in-site
We look at how
(:keyword arg)callsites are compiled in Clojure. -
C4 - Inline skating
Inlining allows the compiler to replace some function calls with direct code insertion, improving performance. There are two mechanisms of inlining in Clojure: user-defined inlining and intrinsic operations.
subscribe via RSS