Re:Tracking Trust with Rust in the Kernel
by menaerus on Friday September 19, 2025 @04:53AM
(#45299449)
Opaque types cannot be stack- or statically allocated.
[ Parent
| on HN ]
Re:Tracking Trust with Rust in the Kernel
by kimixa on Friday September 19, 2025 @05:04AM
(#45299522)
No, but many languages already have limitations like "strings live on the heap", even many discussed in this thread.
Dynamically sized objects on the stack has always been difficult. You could argue that C special casing fixed length strings to allow that is the odd one out.