2 ms·
> As patterns reoccur, it may become clear what new safe primitives are needed. In these cases you have a choice between inventing a safe language primitive or
by Manishearth 10y ago
> As patterns reoccur, it may become clear what new safe primitives are needed.
In these cases you have a choice between inventing a safe language primitive or inventing a safe library primitive. This exists in most cases for seemingly-safe operations, like the byteorder crate in this case.
If it were a language primitive it would be just as trustworthy as the corresponding verified library primitive.