Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I’ve been blogging about row polymorphism since 2013 (a life wasted?)
-
Typeclasses are an overloading mechanism that allows compile time or runtime polymorphism.
-
At a high level Haskell’s typeclasses and Rust’s traits are the same feature, but they also differ quite a bit in details.
-
Fir macros are fully deterministic programs that are distributed separately and that can introspect into the using program’s type-checked AST definitions.
-
A lesson we can derive from Rust’s error handling and async libraries, and Haskell’s effect system libraries, is that languages need to have opinionated (and efficient, flexible) interop features.
-
I was just going through old files and saw a cool video of an old project that I thought I should share.
-
One of my original goals with Fir was to bootstrap it as early as possible.
-
Robert Harper’s “Exceptions Are Shared Secrets” is an intriguing blog post, but it may come as a bit abstract unless you’re already familiar with the idea of accidental exception (or more generally, effect) handling, as the post has no code.
-
In the previous post we looked at a way to extend product types with new fields and sum types with new constructors, using row types, in Fir.
-
The front-end AST types are one of the most important types in a language implementation, and if we get them wrong nothing will be right in the rest of the implementation.
-
Fir formats comments by assigning comment tokens to non-comment tokens (only conceptually, not in the implementation, see below), and generating comments when formatting the tokens that “own” them.