Hacker News new | ask | show | jobs
by lionkor 110 days ago
C# has `stackalloc`
1 comments

But that requires an explicit declaration and isn't done automatically under the hood, or am I missing something?
The JIT does this automatically in some cases as of .NET 10 (https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotn...).