ARM bare-metal programming in D

evilrat evilrat666 at gmail.com
Mon Oct 21 20:07:01 PDT 2013


(from what i already know from forums)

On Monday, 21 October 2013 at 23:43:45 UTC, Mike wrote:
> Language Questions:
> 1. Is D or WiLL D be a suitable language for these targets?

it is possible, but no work done to make it happens.

> 2. Is the D runtime required for bare metal programming? In 
> other words, if the D runtime has not yet been ported to these 
> targets, how far can one get using just D the language?

D runtime required if you need all that cool features like 
slices, GC and other stuff. but you can use D without it. some 
runtime/phobos ports for ARM already exists but i don't know 
which or what status they are.

> Compiler Questions:
> 1. What is the status of LDC & GDC for these bare-metal 
> targets?  Is DMD even in this game?

GCC(GDC) naturally has more platforms supported, but LLVM(LDC) at 
least has ARM too.

> 2. If not ARM Cortex, can any of the D compilers target Intel's 
> Quark processor?

ummm... is this x86 right? so what problem? (is this actually 
launched in production? 0_0)

> Finally, if D is not yet ready for these targets, but would 
> like to be, what work remains to be done to get it there.
>
> Looking forward to your thoughtful answers.

as you can see D naturally fits for most system programming 
tasks. community just need more people who can bring this to D! 
so why no pick some ARM port and make it complete?

p.s. i think the only reason D doesn't have ARM and MIPS already 
is because Walter don't know asm for this architectures :)



More information about the Digitalmars-d mailing list