2 ms·
>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.
by DeathArrow 3y ago
>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.
- neonsunset 3y agoWhy 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.
- pjmlp 3y agoUse structs for that.