Re:Mark Russinovich: “Working towards enabling Windows drive...
by shanoaice on Sunday September 24, 2023 @07:03AM
(#37632005)
But it's a Java issue: Java relies on Heap Objects way too much. C# and the CLR behind it has a much better support for value types and stack allocations, where some optimization can even be done by the JIT compiler.
Re:Mark Russinovich: “Working towards enabling Windows drive...
by knorker on Monday September 25, 2023 @03:28PM
(#37649264)
While I don't have much experience with C#, and I agree that Java is the worst, this at least applies to Go as well. Though to a lesser degree.
Re:Mark Russinovich: “Working towards enabling Windows drive...
by Yoric on Sunday September 24, 2023 @01:05PM
(#37634920)
You are right that I was talking about delivering a first working version, not about tuning performance. It could be argued that optimizing for memory (de)allocation so early in the development is a case of premature optimization. Sadly, I don't know a (good) path from gc-based development to safe manual memory management, so I'll keep that counter-argument for the day I see one such path :)
So I can deny that most development becomes easier with GC. At least if you also intend to actually run the thing. Running Java means forever fighting the GC, needing to do runtime and development to reduce impact of inherent GC problems.