Comment Comment by Nycto Adding to this, I see two other elements that make this tough to replicate in Kotlin:1. Type erasure2. Using sealed classes requires instantiation, while the Rust version is zero overhead. parent Nycto 7 years ago
1. Type erasure
2. Using sealed classes requires instantiation, while the Rust version is zero overhead.