Nick Sabalausky wrote:
"Frits van Bommel" <[email protected]> wrote in message
news:[email protected]...
Nick Sabalausky wrote:
"Georg Wrede" <[email protected]> wrote in message
news:[email protected]...
And now the inevitable $1M question: when can we get D on it????
As soon as we get a fully-working C-backend for one of the D compilers ;)
LLVM has a C backend, so as soon as LDC is mature enough...
Now that I think about it more, it would probably require more than just a
D->C compiler. Storage on the Hydra's microcontroller (ie, Parallax's
Propeller chip) is very tight (512 32-bit words per core (aka "cog"), plus a
few tens of k shared ram that can't be used to store code unless you reserve
some of the non-shared memory to page code in and out). Plus, of course,
there's no streams or filesystem or OS, etc, so because of that and the low
memory large chunks of phobos/tango would probably need to be removed,
possibly including the GC. If there is indeed a C compiler for it, I'm not
sure if or how it handles code paging or other such low-mem concerns.
http://en.wikipedia.org/wiki/Parallax_Propeller
"There is also a C compiler available from ImageCraft, the ICCV7 for
Propeller. Its supports the 32K Large Memory Model, to bypass the 2K
limitation per cog, and is typically 5 to 10 times as fast as standard
SPIN code."