4 ms·
Adding to this, I see two other elements that make this tough to replicate in Kotlin: 1. Type erasure 2. Using sealed classes requires instantiation, while th
by Nycto 7y ago
Adding to this, I see two other elements that make this tough to replicate in Kotlin:
1. Type erasure
2. Using sealed classes requires instantiation, while the Rust version is zero overhead.
- paulddraper 7y ago> 1. Type erasure There is no need to access type information at runtime here.