Re:Building a bare-metal bootable game for Raspberry Pi in C#
by DeathArrow on Tuesday December 12, 2023 @07:06AM
(#38611138)
>Manually memory allocation has been there since the begining in interop APIs, and improved later on.
I want to be able allocate/deallocate C# objects.
Re:Building a bare-metal bootable game for Raspberry Pi in C#
by neonsunset on Tuesday December 12, 2023 @07:41AM
(#38611417)
Why do you want that? This does not really win performance when you start to care about it yet imposes severe requirements on the programmer to ensure that manually deallocated object is not referenced anywhere.
https://learn.microsoft.com/en-us/dotnet/api/system.runtime....
There is always C++ for those that don't want a tracing GC.