March 02, 2022
On Tuesday, 1 March 2022 at 07:24:07 UTC, forkit wrote:
>
> Arhggg...32bit controllers! In 2022!
>
> There goes any hope of ridding D of its 32bit baggage.

FYI.

For the MCU market (as we are now in the IoT age), most of the market share will be 32Bit, and even there's a big part is still 16bit (for industrial).

64bit for MCU now shares very very little part.

And for Dlang, the core dev is focusing on only PC and bigger computers, but, we actually have a chance.



March 02, 2022
On 02/03/2022 9:08 AM, forkit wrote:
> Huh? Are you suggesting there's no baggage associated with maintaining 32bit compatability?
> 
> Just to start with.. the build and release would be much simpler, for example.
> 
> As for source.. I expect you're in a better postion than I, do identify that baggage.
> 
> Of course if 'real' D users are using 32bit.. it's probably not correct to consider it 'baggage' as such. But that day is fast approaching ;-)

Build processors are always going to be complex due to us supporting multiple platforms.

Adding in an extra address width, really isn't an issue.

Our only problems are related to dmd's backend and Optlink and I wouldn't be surprised if it still supported m68k (although I couldn't find anything referencing it). But Optlink is now going away so all of those issues are going away hopefully in this decade.
March 05, 2022

On Tuesday, 1 March 2022 at 07:24:07 UTC, forkit wrote:

>

On Tuesday, 1 March 2022 at 05:07:09 UTC, Igor Myronov wrote:

>

I'm wondering if a such nice programming language should be possible to use on small MCU's like RP2040,PIC32 and so on.
Thanks.

Arhggg...32bit controllers! In 2022!

There goes any hope of ridding D of its 32bit baggage.

From what i got already learned in these days it looks like Dlang is pretty useless on any kind of MCU.
There's no solid stuff happening for Dlang on MCU's,so i suppose that this kind of theme should be postponed for a few years yet before getting Dlang for real embedded system development.

Unfortunately :(

March 07, 2022

On Saturday, 5 March 2022 at 17:54:02 UTC, Igor Myronov wrote:

>

On Tuesday, 1 March 2022 at 07:24:07 UTC, forkit wrote:

>

On Tuesday, 1 March 2022 at 05:07:09 UTC, Igor Myronov wrote:

>

I'm wondering if a such nice programming language should be possible to use on small MCU's like RP2040,PIC32 and so on.
Thanks.

Arhggg...32bit controllers! In 2022!

There goes any hope of ridding D of its 32bit baggage.

From what i got already learned in these days it looks like Dlang is pretty useless on any kind of MCU.
There's no solid stuff happening for Dlang on MCU's,so i suppose that this kind of theme should be postponed for a few years yet before getting Dlang for real embedded system development.

Unfortunately :(

yeah, embedded is not focused in D community, Rust and Nim is doing this, they all have
embedded channel in their Discord.

March 07, 2022

On Monday, 7 March 2022 at 01:14:50 UTC, dangbinghoo wrote:

>

On Saturday, 5 March 2022 at 17:54:02 UTC, Igor Myronov wrote:

>

On Tuesday, 1 March 2022 at 07:24:07 UTC, forkit wrote:

>

On Tuesday, 1 March 2022 at 05:07:09 UTC, Igor Myronov wrote:

>

I'm wondering if a such nice programming language should be possible to use on small MCU's like RP2040,PIC32 and so on.
Thanks.

Arhggg...32bit controllers! In 2022!

There goes any hope of ridding D of its 32bit baggage.

From what i got already learned in these days it looks like Dlang is pretty useless on any kind of MCU.
There's no solid stuff happening for Dlang on MCU's,so i suppose that this kind of theme should be postponed for a few years yet before getting Dlang for real embedded system development.

Unfortunately :(

yeah, embedded is not focused in D community, Rust and Nim is doing this, they all have
embedded channel in their Discord.

People have been using D on embedded targets for longer than Rust and Nim have existed.

What you're looking for is basically the peacock's tail rather than the stuff that actually carries the DNA.

Ask a specific question and someone will help you, quite possibly me, but just moaning about how there isn't an embedded channel discord (If you're in the D discord server you'll notice that there are several people who run D on embedded targets fairly regularly). If you want help from scratch then that is OK but there is literally nothing special about targeting controllers, beyond having to probably set up your own toolchain.

In fact I have just asked the discord admins to add an embedded channel in the server.

March 07, 2022

On Monday, 7 March 2022 at 02:15:14 UTC, max haughton wrote:

>

On Monday, 7 March 2022 at 01:14:50 UTC, dangbinghoo wrote:

>

On Saturday, 5 March 2022 at 17:54:02 UTC, Igor Myronov wrote:

>

On Tuesday, 1 March 2022 at 07:24:07 UTC, forkit wrote:

>

On Tuesday, 1 March 2022 at 05:07:09 UTC, Igor Myronov wrote:

>

I'm wondering if a such nice programming language should be possible to use on small MCU's like RP2040,PIC32 and so on.
Thanks.

Arhggg...32bit controllers! In 2022!

There goes any hope of ridding D of its 32bit baggage.

From what i got already learned in these days it looks like Dlang is pretty useless on any kind of MCU.
There's no solid stuff happening for Dlang on MCU's,so i suppose that this kind of theme should be postponed for a few years yet before getting Dlang for real embedded system development.

Unfortunately :(

yeah, embedded is not focused in D community, Rust and Nim is doing this, they all have
embedded channel in their Discord.

People have been using D on embedded targets for longer than Rust and Nim have existed.

Yeah, you're right.

>

What you're looking for is basically the peacock's tail rather than the stuff that actually carries the DNA.

Ask a specific question and someone will help you, quite possibly me, but just moaning about how there isn't an embedded channel discord (If you're in the D discord server you'll notice that there are several people who run D on embedded targets fairly regularly). If you want help from scratch then that is OK but there is literally nothing special about targeting controllers, beyond having to probably set up your own toolchain.

In fact I have just asked the discord admins to add an embedded channel in the server.

OK, that's basically right. But, What I mean not focused is that:

Rust and Nim is doing more stuff (or ecosystem) than D do.

Rust: embedded is mentioned on their Home-Page as a language goal. And they've done
svd2* tool to do bindings and library generation for Rust programming on MCU targets.

Nim: it's easier to Do configuration for toolchain in nim.cfg than What D do. And nim's stdlib even has support for freertos and zephyr for OS target.

yes, embedded is a common concept, for Big CPU or Soc like ARM Cortex-A or MIPS and etc With Linux-OS, D is ready for almost everything.

But for MCU target, D has only betterC mode, and I know there's lwdr, but the ecosystem is
actually a another story compared to Rust&Nim.

thanks!

1 2
Next ›   Last »