From: andrew mcelroy Date: 2010-09-02T04:15:43+09:00 Subject: Re: Help Needed --0015174bf2625c9f82048f3785a9 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 1, 2010 at 12:18 PM, Tridib Bandopadhyay wrote: > Thank You for Your reply.... > > I don't know how to resent my question to You...I think It will be > better if I Present my Thesis plan > > I am thinking of Making a programming language which has Garbage > collector in it And also will allow Direct Memory Access with no mis-use > of memory. > I am curious as to how you plan to do this. > > So I thought of going with Ruby. So I need the Garbage Collector code of > Ruby and then I will write my code of own to let the user access the > memory with some desired rules.The Compiler will be a short one just to > see whether it works or not. > Honestly, Ruby is a great language, but the GC in Ruby isn't exactly the 8th wonder of the world, if you catch my drift. The upside to studying Ruby's GC is that it is a GC used in the real world. The down side is that there is a lot of room for improvement in this space. Maybe someone who has worked on the GC can speak more to this? So you intend to write a VM which allows the user to specify where in memory they want to place objects? Will this VM be writing it's memory allocation pools to random access memory? Which operating system are you planning to make this work on? This will be an incredible feat if you are able to pull this off on anything outside of a highly modified Linux kernel. What do you mean by the compiler will be a short one? Ruby is a dynamic language. Due to this, the compilation process works a little different than in a static language such as c. I would highly recommend that dragon book I linked to earlier. Most decent university libraries should have a copy of this book. If you don't mind me asking, I am assuming that you are a student at a university in India? Is this correct? I ask this only because it is an assumption that keeps coming up in my mind. If I am wrong, please let me know. You certainly have your work cut of for you. Respectfully, Andrew McElroy http://TryRuby.org > Can you tell me what will be the first step to go with? > > Regards > > Tridib Bandopadhyay > -- > Posted via http://www.ruby-forum.com/. > > --0015174bf2625c9f82048f3785a9--