Why Rust for safe systems programming?
Nick Treleaven
nick at geany.org
Thu Jul 25 11:52:10 UTC 2019
On Wednesday, 24 July 2019 at 06:22:01 UTC, bauss wrote:
> Well, it still doesn't disable the GC since the runtime still
> loads it.
Doesn't really matter, the important thing is that no collections
are done if no GC allocations are made, and @nogc enforces this
(in @safe code at least).
> Also you can still use the GC in @nogc code if you use
> `assumeNoGC` so it's not entirely gone.
That's not @safe. Anything can happen in @system code.
More information about the Digitalmars-d
mailing list