Hacker News new | ask | show | jobs
by giulianob 2171 days ago
I'd say ref structs are more explicitly stack allocated since they're not allowed to be boxed. Stackalloc is used to allocate arrays on the stack (or rather a block of memory).