digitalmars.D - For Inspiration: arena-based, quad-color incremental, generational, non-copying, high-speed, cache-optimized garbage collector
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (8/8) Feb 04 2018 Hi, not sure if anyone is aware of this:
- rikki cattermole (4/11) Feb 04 2018 "It doesn't need to be concurrent, since Lua states are completely
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (8/12) Feb 04 2018 Well, I wouldn't be able to judge that fast from a single line in the
- rikki cattermole (4/14) Feb 04 2018 Really we ought to use Boehm, as the newer versions can be
- notna (4/18) Feb 04 2018 ... found this a nice read some time ago...
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (9/11) Feb 04 2018 Thanks, pretty interesting.
- Dmitry Olshansky (6/20) Feb 04 2018 Not really you can’t - first check the API to understand that
- Kagamin (4/5) Feb 06 2018 Useful for server applications that more often than not have
- Dmitry Olshansky (2/6) Feb 04 2018 Generational -> write barriers -> no, not really.
Hi, not sure if anyone is aware of this: http://wiki.luajit.org/New-Garbage-Collector I don't know if anythin like this would fit for D but the concept is described pretty extensive. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Feb 04 2018
On 04/02/2018 8:33 AM, Robert M. Münch wrote:Hi, not sure if anyone is aware of this: http://wiki.luajit.org/New-Garbage-Collector I don't know if anythin like this would fit for D but the concept is described pretty extensive."It doesn't need to be concurrent, since Lua states are completely independent." Single threaded simplifies a lot. So no, not useful.
Feb 04 2018
On 2018-02-04 08:41:04 +0000, rikki cattermole said:"It doesn't need to be concurrent, since Lua states are completely independent." Single threaded simplifies a lot. So no, not useful.Well, I wouldn't be able to judge that fast from a single line in the text, if the concept can/can't be tweaked/extended. That's why I added "for inspiration" to the subject... -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Feb 04 2018
On 04/02/2018 8:49 AM, Robert M. Münch wrote:On 2018-02-04 08:41:04 +0000, rikki cattermole said:Really we ought to use Boehm, as the newer versions can be generational&incremental. It is potentially quite a lot better than our version of it."It doesn't need to be concurrent, since Lua states are completely independent." Single threaded simplifies a lot. So no, not useful.Well, I wouldn't be able to judge that fast from a single line in the text, if the concept can/can't be tweaked/extended. That's why I added "for inspiration" to the subject...
Feb 04 2018
On Sunday, 4 February 2018 at 09:04:41 UTC, rikki cattermole wrote:On 04/02/2018 8:49 AM, Robert M. Münch wrote:... found this a nice read some time ago... https://blog.plan99.net/modern-garbage-collection-911ef4f8bd8eOn 2018-02-04 08:41:04 +0000, rikki cattermole said:Really we ought to use Boehm, as the newer versions can be generational&incremental. It is potentially quite a lot better than our version of it."It doesn't need to be concurrent, since Lua states are completely independent." Single threaded simplifies a lot. So no, not useful.Well, I wouldn't be able to judge that fast from a single line in the text, if the concept can/can't be tweaked/extended. That's why I added "for inspiration" to the subject...
Feb 04 2018
On 2018-02-04 12:41:16 +0000, notna said:... found this a nice read some time ago... https://blog.plan99.net/modern-garbage-collection-911ef4f8bd8eThanks, pretty interesting. BTW: I used this stuff about 20 years ago: http://www.microquill.com/ and they are still around. And yes, it was damn fast and HeapAgent was a great tool to use. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Feb 04 2018
On Sunday, 4 February 2018 at 09:04:41 UTC, rikki cattermole wrote:On 04/02/2018 8:49 AM, Robert M. Münch wrote:Not really you can’t - first check the API to understand that without manually placed (or injected by compiler) safepoints it doesn’t work.On 2018-02-04 08:41:04 +0000, rikki cattermole said:Really we ought to use Boehm, as the newer versions can be generational&incremental."It doesn't need to be concurrent, since Lua states are completely independent." Single threaded simplifies a lot. So no, not useful.Well, I wouldn't be able to judge that fast from a single line in the text, if the concept can/can't be tweaked/extended. That's why I added "for inspiration" to the subject...It is potentially quite a lot better than our version of it.It might be.
Feb 04 2018
On Sunday, 4 February 2018 at 08:41:04 UTC, rikki cattermole wrote:Single threaded simplifies a lot. So no, not useful.Useful for server applications that more often than not have independent threads.
Feb 06 2018
On Sunday, 4 February 2018 at 08:33:35 UTC, Robert M. Münch wrote:Hi, not sure if anyone is aware of this: http://wiki.luajit.org/New-Garbage-Collector I don't know if anythin like this would fit for D but the concept is described pretty extensive.Generational -> write barriers -> no, not really.
Feb 04 2018