Hi, I'm Eric.

I’m an avid world traveler, photographer, software developer, and digital storyteller.

I help implement the Content Authenticity Initiative at Adobe.

Search Results

hipstr: Yet another string type for Rust

Found on 22 August 2023 via Mastodon 450

via Rust Weekly: Way too many strings in Rust? You may just need one more, meet hipstr

GitHub: polazarus/hipstr: Yet another string type for Rust

(My take: One of the appeals of Rust is that there’s very little bikeshedding about common data types. When I’m importing code from someone else’s crate, I know that they’ll use the same string type, the same array type, the same memory management approach, and so on. This stands in sharp contrast to C++, where – despite years of attempts at standardization after the fact – there is little to no unity on such matters. That becomes a major roadblock to code reuse. Although there are some touted benefits to this crate, replacing concepts that are built in to the library is a hard sell for me.)

If you’ve enjoyed this …

Subscribe to my free and occasional (never more than weekly) e-mail newsletter with my latest travel and other stories:

Or follow me on one or more of the socials: