Try incoherent traits on stable Rust today with Context-Generic Programming

TL;DR: In March, three blog posts started a discussion about traits and coherence in Rust.
Longer Read: Context-Generic Programming (CGP) extends Rust with pluggable trait implementations, chosen per context at compile time, and it runs on stable Rust today. It then desugars several features of Incoherent Rust into CGP code, compares CGP's context type with the dictionaries of dictionary-passing style, and states the limitations of expressing Incoherent Rust this way.
Read the full story at Contextgeneric →
Related Skills: Software DesignRust
Wider Reading: Refactoring Guru — Software DesignRustlings — Rustroadmap.sh — Software Design

💬 0 comments

No comments yet — be the first to say what you think.