3 ms·
I'd give it another 2-5 years before the syntax settles. Some serious improvements have recently been pushed out and I wouldn't be surprised if further improvem
by uoaei 5y ago
I'd give it another 2-5 years before the syntax settles. Some serious improvements have recently been pushed out and I wouldn't be surprised if further improvements are on the horizon.
- chayleaf 5y agoeditions still allow backwards compatibility though, it's not like the syntax changes will break it
- drran 5y agoRare example of broken backward compatibility: `cargo install gltf-viewer` doesn't work today because of an error in gltf library. The error is fixed, but gltf-viewer is not updated to use the fix. Compiling gltf v0.11.3 error[E0597]: `buf` does not live long enough --> /home/vlisivka/.cargo/registry/src/github.com-1ecc6299db9ec823/gltf-0.11.3/src/binary.rs:225:35 | 119 | impl<'a> Glb<'a> { | -- lifetime `'a` defined here ... 225 | Self::from_v2(&buf) | --------------^^^^- | | | | | borrowed value does not live long enough | argument requires that `buf` is borrowed for `'a` ... 233 | } | - `buf` dropped here while still borrowed