{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiercxejpyiu4rgqv2xbh6f752ujoackdxm74sisf7e2gceudw5gsi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mkxq5ri3jjt2"
},
"path": "/t/bitslice-or-a-sound-way-to-implement-one/24194#post_16",
"publishedAt": "2026-05-03T15:49:55.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Part of the issue with the way C++ did it was that it is a specialisation for a normal vector rather than a dedicated bitvector type. This means it behaves differently than all other vectors, and for new programmers it is a bit of a gotcha. I feel like most of the issues could have been avoided if it was a separate bitvector.",
"title": "`BitSlice` or a sound way to implement one"
}