comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Thick bindings to a C library and gnattest: suggestions?
Date: Mon, 1 Jul 2013 21:37:56 -0700 (PDT)
Date: 2013-07-01T21:37:56-07:00	[thread overview]
Message-ID: <5f8813ee-2662-4555-b565-0051911ce51d@googlegroups.com> (raw)
In-Reply-To: <kqtkmq$c0a$1@loke.gir.dk>

On Monday, July 1, 2013 10:24:57 PM UTC-6, Randy Brukardt wrote:
> "Jeffrey Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message 
> 
> > (Aside: in a world in which GB of RAM are common, it seems odd for a 
> > language to require explicit heap allocation, and the associated memory 
> > management, for objects that fit in memory, but not in the stack. Surely 
> > it would be better for the language to allow the developer to simply 
> > declare the object, and for the compiler to decide where it will fit, and 
> > allocate it and manage its memory appropriately. A means to disable 
> > automatic heap allocation would be needed for systems that disallow heap 
> > allocation.)
> 
> 
> Amen! I've been saying that for 30+ years; perhaps someday it will really be 
> true in commonly used compilers.

True; that would be a nice feature..

I think though that maybe FORTH is close to that; AIUI it's odd combination of ultra low-level (words resolve to either more words or some chunk of machine-code) and ultra high-level (you can define words in such a way as to form grammars [i.e. you don't use raw FORTH, you use a DSL that happens to be written/implemented in FORTH]). [And, of course, it's a stack based language itself.]

  reply	other threads:[~2013-07-02  4:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01  9:02 Thick bindings to a C library and gnattest: suggestions? ziotom78
2013-07-01  9:45 ` Dmitry A. Kazakov
2013-07-01 11:11   ` Maurizio Tomasi
2013-07-01 11:41     ` Simon Wright
2013-07-01 12:00       ` Maurizio Tomasi
2013-07-01 12:42         ` Dmitry A. Kazakov
2013-07-01 19:07           ` Simon Wright
2013-07-01 12:32     ` Dmitry A. Kazakov
2013-07-01 12:41       ` Maurizio Tomasi
2013-07-01 12:47       ` Simon Wright
2013-07-02  8:55     ` Georg Bauhaus
2013-07-02  8:33   ` Maurizio Tomasi
2013-07-02  8:58     ` Dmitry A. Kazakov
2013-07-02 16:58     ` Robert A Duff
2013-07-02 17:00     ` Jeffrey Carter
2013-07-01 17:16 ` Jeffrey Carter
2013-07-02  4:24   ` Randy Brukardt
2013-07-02  4:37     ` Shark8 [this message]
2013-07-02  5:04     ` tmoran
2013-07-02 22:27       ` Randy Brukardt
2013-07-03 12:02   ` Jacob Sparre Andersen
2013-07-02  3:16 ` Jerry
2013-07-02  4:02   ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox