* Research Region Based Memory Management for Imperative Languages
@ 2010-08-27 1:16 Matt Davis
2010-08-27 12:42 ` Ian Lance Taylor
2010-08-27 12:47 ` Uday P. Khedker
0 siblings, 2 replies; 3+ messages in thread
From: Matt Davis @ 2010-08-27 1:16 UTC (permalink / raw)
To: gcc
Hello,
I am just trying to settle down on my PhD Computer Science dissertation
topic. I want something low-level, compiler related, and more so
useful/practical. I am considering region-based memory management, to show
memory efficiency and safety. For imperative languages, such as c, this is
rather difficult from static-analysis alone (e.g. aliasing and weak-typing).
However, I do believe region-based management is possible. If I were to take
something of this nature on for my topic, would it be valuable research, and is
it even worth the effort? I am by far any kind of compiler guru, and figured
you all might know best.
The other option, would be to implement such concepts in a research language,
which can still be interesting, but I'm not sure how practical.
-Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Research Region Based Memory Management for Imperative Languages
2010-08-27 1:16 Research Region Based Memory Management for Imperative Languages Matt Davis
@ 2010-08-27 12:42 ` Ian Lance Taylor
2010-08-27 12:47 ` Uday P. Khedker
1 sibling, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2010-08-27 12:42 UTC (permalink / raw)
To: Matt Davis; +Cc: gcc
Matt Davis <mattdavis9@gmail.com> writes:
> I am just trying to settle down on my PhD Computer Science dissertation
> topic. I want something low-level, compiler related, and more so
> useful/practical. I am considering region-based memory management, to show
> memory efficiency and safety. For imperative languages, such as c, this is
> rather difficult from static-analysis alone (e.g. aliasing and weak-typing).
> However, I do believe region-based management is possible. If I were to take
> something of this nature on for my topic, would it be valuable research, and is
> it even worth the effort? I am by far any kind of compiler guru, and figured
> you all might know best.
Are you thinking of using the compiler to annotate memory allocation
calls with regions? That seems worth investigating. Perhaps you could
get some improvement in C++ by using regions to keep containers and the
objects they contain close together--I'm thinking C++ because it might
be easier for the compiler to detect the cases where it would be useful.
Thanks for your interest. Perhaps somebody else has something more
intelligent to say.
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Research Region Based Memory Management for Imperative Languages
2010-08-27 1:16 Research Region Based Memory Management for Imperative Languages Matt Davis
2010-08-27 12:42 ` Ian Lance Taylor
@ 2010-08-27 12:47 ` Uday P. Khedker
1 sibling, 0 replies; 3+ messages in thread
From: Uday P. Khedker @ 2010-08-27 12:47 UTC (permalink / raw)
To: gcc; +Cc: Matt Davis
We have had a long term plan (which has not fructified until now) of
implementing a static analysis for improving garbage collection. Our
paper in TOPLAS (http://portal.acm.org/citation.cfm?id=1290521) describes
our early work. The main bottle neck for our purpose is a good pointer
analysis and we have shifted our focus to that. Nothing shareable yet
on that front.
It may still be worthwhile implementing it using the existing pointer
analysis but I don't have the bandwidth for it. If someone wants to explore
improving dynamic allocation, this may be a good beginning. I will be
very happy to provide information.
Uday Khedker.
Matt Davis wrote, On Friday 27 August 2010 06:39 AM:
> Hello,
> I am just trying to settle down on my PhD Computer Science dissertation
> topic. I want something low-level, compiler related, and more so
> useful/practical. I am considering region-based memory management, to show
> memory efficiency and safety. For imperative languages, such as c, this is
> rather difficult from static-analysis alone (e.g. aliasing and weak-typing).
> However, I do believe region-based management is possible. If I were to take
> something of this nature on for my topic, would it be valuable research, and is
> it even worth the effort? I am by far any kind of compiler guru, and figured
> you all might know best.
>
> The other option, would be to implement such concepts in a research language,
> which can still be interesting, but I'm not sure how practical.
>
> -Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-27 8:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 1:16 Research Region Based Memory Management for Imperative Languages Matt Davis
2010-08-27 12:42 ` Ian Lance Taylor
2010-08-27 12:47 ` Uday P. Khedker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).