ABp16
ABp16
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
Thank you !
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
No description
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
I should probably open a discussion there, I planned on doing that after asking here if no one could answer
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
I tried looking at the code but it's full of acronyms and jargon I don't understand (and to be honest, I'm not that great at reading other people's code yet haha)
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
I've had lots of trouble finding any kind of information online past "it's generational" or "it's compacting and corrects references"
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
Other question : - where does the GC take memory from, if it needs to allocate memory for hashmaps and other things like that ? Is there a guarantee / upper bound on the amount of memory it would use ?
10 replies
CC#
Created by ABp16 on 9/6/2024 in #help
Help me understand the GC in depth
For my last point, I'm trying to think of an algorithm that uses a hashmap with a maximum size, so that it compacts a certain amount of objects at a time but it would involve copying each object multiple times and I've read that it's considered to be really inefficient
10 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
My options were that or a bunch of node is AstNode.Expr.Block block for all of the subclasses
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
My issue is : - I don't want to put the process methods on the AstNode class itself - I don't want to have to deal with Visitors and what not
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
No description
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
So there will always be a method to resolve to
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
I know Body is always an AstNode
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
No description
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
I would just use it in this one place
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
No description
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
I don't quite get why is it throwing away type safety ?
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
Why x)
19 replies
CC#
Created by ABp16 on 4/22/2024 in #help
Selecting an overloaded method based on the runtime type of an object by casting it to dynamic
No description
19 replies
CC#
Created by ABp16 on 4/20/2024 in #help
Explanation for array initialization peculiarities
Much appreciated !
85 replies
CC#
Created by ABp16 on 4/20/2024 in #help
Explanation for array initialization peculiarities
Well, thank you all for your help
85 replies