Is modern D ready for "embedded first" paradigm?

Dukc ajieskola at gmail.com
Thu Oct 12 07:20:58 UTC 2023


On Thursday, 12 October 2023 at 07:06:15 UTC, Dukc wrote:
> If we're talking about a a bare-metal real-time application in 
> a microcontroller, honestly no. D can do this sort of thing but 
> it's not currently it's strong area. You're almost without 
> library support in those platforms. Phobos does work with 
> `-betterC` (or generally without a full-featured DRuntime) but 
> it means continuously dealing with all sorts of 
> incompatibilities and corner cases.

That said, D is still a better choice than C in my opinion. But 
if the platform in question has a good standard library support 
in Java, C#, Python, Rust or Go, they are likely more practical.


More information about the Digitalmars-d mailing list