Re:What .NET 10 GC Changes Mean for Developers
by grumpyprole on Sunday October 05, 2025 @08:27AM
(#45481010)
Arrays have a static fixed size though, making them far less useful in practice. Anything one builds with generics is boxed. Dotnet doesn't have this problem.
Re:What .NET 10 GC Changes Mean for Developers
by pjmlp on Sunday October 05, 2025 @09:06AM
(#45481209)
Currently you can get around this with Panama, even if the API is kind of verbose for the purpose.
Eventually value classes might close the gap, finally available as EA.
Re:What .NET 10 GC Changes Mean for Developers
by mrsmrtss on Sunday October 05, 2025 @04:57PM
(#45485188)
Valhalla is over 10 years in the works already and there is still no clear date when or if at all it would be released. It's very difficult to change (or fix) such fundamental things so late in the game.
Re:What .NET 10 GC Changes Mean for Developers
by pjmlp on Monday October 06, 2025 @01:59AM
(#45488092)
Because it is a huge engineering effort to add value types without breaking existing binary libraries.
Doing a Python 3 would mean no one wanted going to adopt it.
Yes it is long process.
Some of the JEP in the last versions are the initial baby steps for integration.
An ArrayList<Float> is a list of pointers though.