View mode: basic / threaded / horizontal-split · Log in · Help
July 11, 2012
Supported Architectures?
Hey there,

I'm considering learning D as a general purpose language.
But for that matter I would like to know how Poratble D is.
As far as I know only x86 and x86_64 are supported.
Can you tell me otherwise? What about SPARC and PowerPC for 
example?
If they are not supported yet, what do you think how long it will 
take until theye are?

Will D ever be usable for embeddet systems?

Thanks
July 11, 2012
Re: Supported Architectures?
On Wednesday, 11 July 2012 at 18:48:38 UTC, Stephen wrote:
> Hey there,
>
> I'm considering learning D as a general purpose language.
> But for that matter I would like to know how Poratble D is.
> As far as I know only x86 and x86_64 are supported.
> Can you tell me otherwise? What about SPARC and PowerPC for 
> example?
> If they are not supported yet, what do you think how long it 
> will take until theye are?
>
> Will D ever be usable for embeddet systems?
>
> Thanks

DMD supports x86, and x86-64 (except on Windows, where it only 
supports x86).

GDC supports all architectures the GCC backend can target.

LDC supports all architectures LLVM can target.

Both GCC and LLVM can target SPARC and PowerPC.
July 11, 2012
Re: Supported Architectures?
On Wed, Jul 11, 2012 at 08:48:37PM +0200, Stephen wrote:
> Hey there,
> 
> I'm considering learning D as a general purpose language.
> But for that matter I would like to know how Poratble D is.
> As far as I know only x86 and x86_64 are supported.
> Can you tell me otherwise? What about SPARC and PowerPC for example?
> If they are not supported yet, what do you think how long it will
> take until theye are?

Although dmd currently only supports x86 and x86_64, gdc and ldc both
support a great variety of other architectures (basically all the
architectures that gcc/llvm support). I'm not sure if druntime has been
ported to all the available target platforms, though, so you might run
into some difficulty there.


> Will D ever be usable for embeddet systems?
[...]

That's the plan.


T

-- 
Today's society is one of specialization: as you grow, you learn more and more about less and less. Eventually, you know everything about nothing.
July 11, 2012
Re: Supported Architectures?
On 11 July 2012 19:57, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> On Wed, Jul 11, 2012 at 08:48:37PM +0200, Stephen wrote:
>> Hey there,
>>
>> I'm considering learning D as a general purpose language.
>> But for that matter I would like to know how Poratble D is.
>> As far as I know only x86 and x86_64 are supported.
>> Can you tell me otherwise? What about SPARC and PowerPC for example?
>> If they are not supported yet, what do you think how long it will
>> take until theye are?
>
> Although dmd currently only supports x86 and x86_64, gdc and ldc both
> support a great variety of other architectures (basically all the
> architectures that gcc/llvm support). I'm not sure if druntime has been
> ported to all the available target platforms, though, so you might run
> into some difficulty there.
>
>

This is essentially the case.  D1 library was ported to all platforms
Debian support at least - D2  library needs work.

>> Will D ever be usable for embeddet systems?
> [...]
>
> That's the plan.
>


It is indeed.  But I must emphasise that we will never support 16bit
systems, or any system that isn't able to support 64bit integer types.



Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
July 12, 2012
Re: Supported Architectures?
On 7/11/2012 4:35 PM, Iain Buclaw wrote:
> It is indeed.  But I must emphasise that we will never support 16bit
> systems, or any system that isn't able to support 64bit integer types.

Or some DSPs that have 32 bit types *only* (not byte addressible).
Top | Discussion index | About this forum | D home