26
Zig, Rust and other languages (notes.eatonphil.com)

What do you think about the points the authors makes?

you are viewing a single comment's thread
view the rest of the comments
[-] asdfasdfasdf@lemmy.world 20 points 8 months ago

It's not clear to me what the author considers "questionable choices" for Rust.

[-] Rustmilian@lemmy.world 28 points 8 months ago* (last edited 8 months ago)

The only point I found that falls under "questionable choices" is :

"If you go looking for compression support in Rust, there's none in the standard library. But you may notice the flate2-rs repo under the official rust-lang GitHub namespace. If you look at its transitive dependencies: flate2-rs depends on (an individual's) miniz_oxide which depends on (an individual's) adler that hasn't been updated in 4 years. 300 lines of code including tests. Why not vendor this code? It's the habits a small standard library builds that seem to encourage everyone not to."
"Even official packages may end up depending on external party packages, because the commitment to a small standard library meant omitting stuff like compression, checksums, and common OS paths."

Which is somewhat valid, but imo it's really not as big of a deal breaker as they're trying to make it out to be.

this post was submitted on 16 Mar 2024
26 points (93.3% liked)

Rust

6005 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS