Hacker News new | ask | show | jobs
by bionsuba 3947 days ago
Not AA, but streams have been pretty much deprecated in favor of ranges.
1 comments

Aren't ranges and streams conceptually different? Ranges are for data traversals and streams are for data transfers.

I want more than empty, front and popFront to manipulate byte buffers with high performance.

I'm thinking about reading data structures, performing bit conversion, and extracting primitive values from untyped byte arrays. Going as far as to reuse the array's memory for the values being read which isn't possible with ranges.