@chaosprime copying GC?
Anybody know how long-running processes in functional languages keep from grinding to a halt from heap fragmentation? @chrisamaphone?
-
-
-
@chrisamaphone hm. i will have to find out what that is. thanks! -
@chaosprime short story: divide the heap in half; periodically copy live data from old half to new half (& consolidate in the process) -
@chrisamaphone hm. you can still only consolidate as far as free blocks are contiguous, right? -
@chaosprime iirc the entire second half is kept free for this reason (obviously having half of memory is non ideal) -
@chrisamaphone for that to help i guess you have to have some magic or another that lets you rewrite stored pointers? -
@chrisamaphone i mean, in C you can't remap pointers because a pointer to mem:0xf00 looks exactly like the number 0xf00
End of conversation
New conversation -
-
-
@chaosprime I do know that the pure functional languages can do a lot of data sharing automatically, though.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@chaosprime That's a great question. Do share the answer. Found almost no info on Haskell GC, but didn't look hard.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.