Algorithms + Data Structures = Programs cover image

Episode 126: Flux (and Flow) with Tristan Brindle

Algorithms + Data Structures = Programs

00:00

The Benefits of Writing Range Adapters

When you are implementing range adapters, things like map, things like transform, the iterators for these things work is that you have to wrap the iterator of the underlying. With cursors, because a cursor is just being like an index, you can have the same index whether you have a const vector or a non-conspector and it doesn't matter. We make the decision about const or non-concesses based on the sequence that you pass in. So we can be compatible in a, like in some sense, this is even more fundamental thaniterators because we can provide compatibility with existingIterators. I think it's pretty good. This is, I've never talked

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app