Hello Carl,
Thanks for your response. I am currently trying to do my thesis. My long
term goal is to create a binding of pypy with mmtk (
https://github.com/mmtk/mmtk-core) so that I can test some of the memory
manager written in this mmtk platform on pypy. In order to do that at first
I have to able to write a pypy memory manager like incminimark that can
communicate with the rest of the compiler and extract all information that
is needed for a memory manager to function well. Then I will write an api
for mmtk and pass those information to mmtk platform so that it can use its
memory manager to perform garbage collection for pypy. In that way I would
be able to test how new garbage collection algorithms behave in pypy and if
I am lucky then I will find some possible imporvements.

Any suggestion given by anyone will be much appreciated.

Thanks,

Raihan

On Sun, May 23, 2021 at 1:27 PM Carl Friedrich Bolz-Tereick <cfb...@gmx.de>
wrote:

> Hi Raihan,
>
> Could you please describe a bit what you are trying to implement? That way
> we could give you a bit more targeted advice.
>
> Cheers,
>
> Carl Friedrich
>
> On May 23, 2021 8:22:48 AM GMT+02:00, Armin Rigo <armin.r...@gmail.com>
> wrote:
>>
>> Hi Raihan,
>>
>> On Sat, 22 May 2021 at 14:40, Raihan Rasheed Apurbo <apurb...@gmail.com> 
>> wrote:
>>
>>>  Thanks for helping me out. I was actually looking for a generalized 
>>> solution. The last paragraph of your answer covers that. What I understand 
>>> from that is, if I want to understand how pypy gc works and if i want to 
>>> write my own version of GC at first I have to understand all the tests 
>>> written on rpython/memory. I will now look extensively into that.
>>>
>>>  I have tried to understand some of the test codes earlier but there is a 
>>> problem that I faced. Suppose gc_test_base.py written in 
>>> rpython/memory/test not only uses modules written in rpython.memory but 
>>> also uses modules like llinterp from rpython.rtyper. As I don't know how 
>>> those modules work how do I figure out their function written in the test 
>>> codes? Do you have any suggestions for someone who is facing this issue?
>>>
>>
>> Modules from rpython.rtyper.lltypesystem are essential.  You need to
>> learn about them to the extent that they are used.  They have test
>> files in "test" subdirectories, like almost every file in PyPy and
>> RPython.
>>
>> Armin
>> ------------------------------
>> pypy-dev mailing list
>> pypy-dev@python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
>>
>>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to