trait-system

Tag

Cards List
#trait-system

Why 'externalized' proofs of cyclic trait impls does not work

Lobsters Hottest ↗ · 2026-10-10 Cached

Rust设计者Niko Matsakis在博客中论证,为了支持循环trait实现(cyclic trait impls),Rust的supertrait验证必须采用「模块化证明」策略(由impl自身保证supertrait成立),而「外部化证明」策略与Rust现有设计不兼容。

0 favorites 0 likes
#trait-system

Lisp in the Rust Type System

Hacker News Top ↗ · 2026-06-20 Cached

A Lisp interpreter embedded in Rust's trait system, allowing recursive functions, closures, and continuation passing style at compile time.

0 favorites 0 likes
← Back to home

Submit Feedback