This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Heapless C/C++
On Sat, 8 Oct 2011 15:24:19 +0530
Shiv Shankar Dayal <shivshankar.dayal@gmail.com> wrote:
> Why I want a new language is that whole compatibility goes for a toss.
I'm not sure to understand the above sentence. I parse it that you don't care about
backward compatibility. Then you don't need any kind of C dialect.
> It would become very difficult for user to discriminate when to allocate
> on heap and when to use stack while using existing libraries. Hence,
> I did not want to do a gcc plugin.
Then, maybe the GCC community is not the best place to ask.
You might have some other points of view on http://lambda-the-ultimate.org/ (a forum for
language designers & theorists).
You might also consider looking to other low level programming languages, like
http://www.bitc-lang.org/ (but there are others that I don't know about, or that I
forgot to mention).
At last, you could also dig into the big literature on memory management & garbage
collection. In particular, search for "compile time garbage collection"
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***