|
|
|
|
|
by pkolaczk
1089 days ago
|
|
> A libraries next version which switches up some internal representations memory handling should ideally not mess up your application It doesn't have to because internal memory representation can and should be abstracted out, and Rust gives a plethora of tools to do that. Your argument works against against static typing in general.
The next version changes the address representation from String to Address (in managed language) and messes up your app. That's the same thing. |
|
The simplest concrete example, I guess, would be a function that returns &'str. There are plenty of Rust APIs out that have functions with this type signature.