3 ms·
Two questions: 1. Does Rust have an idiomatic way of providing a similar data structure that also limits allocations and maintains cache-friendliness? 2. How
by DylanSp 4y ago
Two questions:
1. Does Rust have an idiomatic way of providing a similar data structure that also limits allocations and maintains cache-friendliness?
2. How pervasive are these intrusive linked lists in the kernel code, especially in boundaries between major systems? Would it be possible to create seams in the kernel code that pass structures with idiomatic Rust equivalents, then use those as a guide to moving Rust into the kernel without contorting it to work with C data structures that are hard to represent?