On Fri, 03 Feb 2012 23:42:39 +0100, Manu <[email protected]> wrote:
On 3 February 2012 23:15, Martin Nowak <[email protected]> wrote:
On Fri, 03 Feb 2012 17:13:04 +0100, Iain Buclaw <[email protected]>
wrote:
On 3 February 2012 08:47, Andrea Fontana <[email protected]> wrote:
Is it possible to compile for avr (atmel) platform using gdc? It
would be
interesting for arduino development...
It's unlikely that D will run on systems without a MMU.
Why?
It just compiles code. Why should it require dependence on anything?
Arrays, AA, string switch, array ops, boundary checks, closures, exception
handling, class factory, module constructors, unittests, RTTI.
Just to name some deeply integrated features that require runtime support
and or heap allocation. Some of them even rely on GC in their current
implementation.
Obviously you can compile and link a simple "double add(double a, double
b) { return a + b; }" without using the runtime.
What's that thing about not using the C runtime? Don't you use malloc,
atexit, str*?