Re:Linux kernel drivers in Rust might become an option in th...
by dmitrygr on Friday August 30, 2019 @09:04PM
(#20844024)
"doubly linked list detected, this language does not support such constructs without 'unsafe' keyword being used to wrap it"
[ Parent
| on HN ]
Re:Linux kernel drivers in Rust might become an option in th...
by ZirconiumX on Saturday August 31, 2019 @04:15AM
(#20845187)
Which is why you implement a doubly linked list using data indices in a Vec<Node>. The resulting data structure is fully safe and resembles an ECS.
Re:Linux kernel drivers in Rust might become an option in th...
by dmitrygr on Saturday August 31, 2019 @01:47PM
(#20847723)
And features an extra level of indirection for your CPU's dcache prefetch predictor to trip over