[HN Gopher] Contexts and Capabilities in Rust
___________________________________________________________________
Contexts and Capabilities in Rust
Author : tmandry
Score : 21 points
Date : 2021-12-21 16:58 UTC (6 hours ago)
(HTM) web link (tmandry.gitlab.io)
(TXT) w3m dump (tmandry.gitlab.io)
| ncmncm wrote:
| This sort of facility is the reason why C++ iostreams
| (technically, std::ios_base) support a primitive array type and
| static index allocator, via members iword/pword and xalloc. It is
| not often used, but where used it would be hard to do anything
| else.
|
| https://en.cppreference.com/w/cpp/io/ios_base
|
| It is quite common for a stream object to thread a call chain
| from top to bottom, for independent reasons. So, ability to stick
| on other context has saved bacon fairly often, over the decades.
___________________________________________________________________
(page generated 2021-12-21 23:02 UTC)