4 ms·
Having used both VHDL and Rust. Rust is waaaaaaaaaaaaaaaay easier. Like pre-elision lifetimes Rust is still easier than VHDL. This is a problem for lib authors
by Ygg2 5y ago
Having used both VHDL and Rust. Rust is waaaaaaaaaaaaaaaay easier. Like pre-elision lifetimes Rust is still easier than VHDL.
This is a problem for lib authors and it's good to be aware as soon as possible.
That said GAT weren't designed to tackle this problem, but async fn in traits.
Also according to https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-traits/topic/Considering.20a.20GATified.20Iterator/near/268342550 https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-tra...
The faults could be removed in stages, so it's not like GAT can't be improved.
- zozbot234 5y agoGAT are also supposed to enable an encoding of HKT. Which means that support for advanced type system features as seen in Haskell, Scala etc. will become feasible once GAT stabilize.