Future of memory management in D

Paulo Pinto pjmlp at progtools.org
Wed Nov 17 08:17:35 UTC 2021


On Wednesday, 17 November 2021 at 07:54:19 UTC, forkit wrote:
> On Wednesday, 17 November 2021 at 06:50:52 UTC, Paulo Pinto 
> wrote:
>>
>> Google and Linux kernel don't care about your opinion and have 
>> started introducing Rust into the Linux kernel.
>>
>> AUTOSAR for high integrity computing doesn't care about your 
>> opinion and now mandates C++14 as the language to use on 
>> AUTOSAR certified software, ISO 26262 road vehicle functional 
>> safety.
>>
>> Arduino folks don't care about your opinion and Arduino 
>> libraries are written in C++, they also have Rust and Ada 
>> collaborations.
>>
>> C was closer to PDP-11 Assembly, it is hardly closer to any 
>> modern CPU.
>
> Well, clearly those examples demonstate that my opinion has 
> some merit ;-)
>
> Also, many of C's so called problems, are really more library 
> problems. You can't even do i/o in C without a library.
>
> also. you kinda left out alot.... like all the problem domains 
> where C is still the language of choice... even to this day.
>
> I mean, even Go was originally written in C. It seems unlilkely 
> they could have written Go, in Go.

Go was written in C, because the authors decided to reuse Plan 9 
compilers they created in first place, instead of starting from 
scratch. That is all, nothing special about C other than saving 
time.

Currently, Go is written in Go, including its GC implementation.

F-Secure has their own baremetal Go implementation, TamaGo, 
written in Go and sold for high security firmware.


More information about the Digitalmars-d mailing list