Why Rust for safe systems programming?
Mike Franklin
slavo5150 at yahoo.com
Wed Jul 24 06:51:36 UTC 2019
On Wednesday, 24 July 2019 at 06:22:01 UTC, bauss wrote:
>>> Can DLang be disabled for GC, or is it necessary to disable
>>> it? Of course, many people do not like betterC.
>
> Well, it still doesn't disable the GC since the runtime still
> loads it.
>
> Also you can still use the GC in @nogc code if you use
> `assumeNoGC` so it's not entirely gone.
Yeah, things like `@nogc` and `-betterC` are kludgy to me. I hope
one day for an opt-in language where you just pay for what you
use without any special attributes or compiler switches.
As mentioned in the article, one of the benefits of C, C++, and
Rust is their "minimal and optional runtime". I've tried to move
D in that direction, but I've only had mild success. I keep
picking away at it, and welcome others to join in.
Mike
More information about the Digitalmars-d
mailing list