Soares Chen

2.4K posts

Soares Chen

Soares Chen

@soareschen

Find me on #BlueSky at https://t.co/UWKMDbv9aJ ∘ Haskell ∘ Rust ∘ @MaybeVoid ∘ Programming Language Theory

Leipzig, Germany Katılım Haziran 2008
2.3K Takip Edilen2K Takipçiler
Soares Chen
Soares Chen@soareschen·
How to stop fighting with coherence and start writing context-generic trait impls in Rust contextgeneric.dev/blog/rustlab-2… This blog post contains the slides and transcript for my presentation of Context-Generic Programming at RustLab 2025.
English
0
0
1
51
Soares Chen
Soares Chen@soareschen·
My RustLab presentation on **How to stop fighting with coherence and start writing context-generic trait impls** is now available on YouTube: youtube.com/watch?v=gXIfP-…
YouTube video
YouTube
English
0
0
1
50
Soares Chen
Soares Chen@soareschen·
In short, cgp-serde extends Serde’s original Serialize and Deserialize traits with CGP, making it possible to write overlapping or orphaned implementations of these traits and thus bypass the standard Rust coherence restrictions.
English
0
0
0
47
Soares Chen
Soares Chen@soareschen·
I am excited to announce the release of cgp-serde, a modular serialization library for Serde that leverages the power of Context-Generic Programming (CGP). contextgeneric.dev/blog/cgp-serde…
English
1
0
1
49
Soares Chen retweetledi
🦀 RustLab
🦀 RustLab@rustlab_conf·
⚙️ Coherence rules getting in your way? @soareschen introduces Context-Generic Programming — a paradigm to write truly generic trait impls without breaking Rust’s rules. 🕐 12:15 | 📍 Deep Ocean #RustLab2025
🦀 RustLab tweet media
English
0
1
5
224
Soares Chen retweetledi
🦀 RustLab
🦀 RustLab@rustlab_conf·
No more fighting the compiler! 😄 @soareschen showed how Context-Generic Programming lets Rust devs go beyond coherence limits — safely and elegantly. #RustLab2025 #RustLang
🦀 RustLab tweet media🦀 RustLab tweet media🦀 RustLab tweet media
English
0
1
4
464
Soares Chen
Soares Chen@soareschen·
I’m excited to announce the release of CGP v0.6.0! This version introduces major ergonomic improvements that make provider and context implementations simpler and more intuitive to write. contextgeneric.dev/blog/v0-6-0-re…
English
0
0
0
40
Soares Chen
Soares Chen@soareschen·
I am thrilled to announce the release of CGP v0.5.0! This new release includes many exciting features, including auto dispatchers, extensible datatype improvements, monadic computation, emulation of RTN, sneak preview of cgp-serde, and more. contextgeneric.dev/blog/v0-5-0-re…
English
0
0
1
69
Soares Chen
Soares Chen@soareschen·
I will be presenting at RustLab on how to stop fighting with coherence and start writing context-generic programs with CGP. Use the discount code SP20FR to attend the conference with 20% discount!
🦀 RustLab@rustlab_conf

Tired of fighting Rust’s coherence rules? @soareschen introduces Context-Generic Programming: a new way to write flexible trait impls without breaking the rules. 🧩 How to Stop Fighting with Coherence and Start Writing Context-Generic Trait Impls #rustlang #rustlab2025

English
0
0
2
192
Soares Chen
Soares Chen@soareschen·
This also enables safe enum upcasting and downcasting, as well as modular builder and visitor patterns in Rust. Check out the blog post to find out more!
English
0
0
0
51
Soares Chen
Soares Chen@soareschen·
I'm excited to share the release of CGP v0.4.2, with new support for extensible records and variants! contextgeneric.dev/blog/extensibl… In short extensible data types allows us to read, construct, and deconstruct a *generic* struct or enum without needing access to the concrete type.
English
1
0
0
67
Soares Chen
Soares Chen@soareschen·
I have created Hypershell as a proof of concept to showcase how CGP can be used to build highly modular and extensible DSLs, with the DSL programs expressed as Rust types!
English
0
0
0
78
Soares Chen
Soares Chen@soareschen·
Announcing Context-Generic Programming (CGP) - a new modular programming paradigm for #RustLang! #CGP allows strongly-typed Rust components to be implemented and composed in a modular, generic, and type-safe way. Check out contextgeneric.dev to learn more.
English
0
0
1
195
Soares Chen retweetledi
Gabriela Moreira
Gabriela Moreira@bugarela·
For the last 2 years, I have been working on a new specification language called Quint, based on TLA. Today, we are doing a first general announcement because we finally feel that it is good enough for people to use it and enjoy it :) github.com/informalsystem…
English
4
23
85
7.6K
Soares Chen retweetledi
Informal Systems
Informal Systems@informalinc·
Remember #Quint? Quint is a tool created by @informalinc that helps developers design and check if distributed applications work correctly, especially programs running on blockchains. Here is an update 🧵
Informal Systems@informalinc

Heard about #Quint? 🤔 In simple terms: Quint is a tool created by @informalinc that helps developers design and check if distributed applications work correctly, especially programs running on blockchains.

English
1
12
25
6.5K
Soares Chen
Soares Chen@soareschen·
The Rust async fn and return-position impl Trait in trait PR has passed through review and in its final comment period. Looking forward for it to get merged soon! #issuecomment-1745478473" target="_blank" rel="nofollow noopener">github.com/rust-lang/rust…
English
0
0
1
166
Soares Chen retweetledi
Ernest Ng
Ernest Ng@ngernest2·
Stumbled upon this fantastic (& underrated) Youtube playlist covering the details of Hindley-Milner type inference (eg. unification). Loads of examples on paper & in code, they even go through the notation in the original HM paper -- would recommend! youtube.com/playlist?list=…
English
1
33
204
20.3K