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"
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
" So and So issue detected. If you believe this is not a bug, send this Snippet or A ST as a bug report (If you want, we can do this automatically for you!)"
And also "We've detected so and so issue. Please see our wiki <link to specific issue> for an explanation on what may have triggered this, and for ideas on how to rewrite such code"