News for hackers. Stuff that matters.
Re:Gleam, Coming from Erlang by CharlieDigital on Friday February 28, 2025 @08:46AM (#43205504)
To be clear, `Dispose()` (aka `using`) is not the same as GC. It just cleans up unmanaged resources (connections, file handles, etc.) and marks the managed entity available for GC.
Re:Gleam, Coming from Erlang by pjmlp on Friday February 28, 2025 @08:51AM (#43205553)
Depends, C# and .NET in general have support for manual memory management, it is a matter how it was allocated in first place.

People keep forgetting CLR was designed to accommodate C++ as well, and during the years some of those capabilities have been exposed to other languages in more easier ways than reaching out to C++/CLI.