We Have Traits at Home - Blog Post
Ziggit
We Have Traits at Home - Blog Post
We Have Traits at Home I was noodling for a while with some functional programming languages, and in the process I stumbled onto a rather nice way to handle comptime abstraction. After using it in a few places, I thought I would type up a blog post and share. The gist: you can imitate OCaml modules or Rust traits at comptime, and it can be a nice way to make your function interfaces more explicit without involving VTable machinery. My blog is fairly young, and I’m thinking of writing more ar...
0 comments
No comments yet.