Discussion about deprecating @nogc and workarounds
Johan
j at j.nl
Fri Sep 6 21:29:14 UTC 2024
On Friday, 6 September 2024 at 09:37:48 UTC, solidstate1991 wrote:
> A lot of people are arguing (especially on Discord) that
> `@nogc` should be discarded entirely in favor of betterC.
>
> Here are my thought on the subject:
>
> - When it comes for the standard runtime and library, for the
> most part, yes, but maybe keep around `@nogc` for the
> occasional student that wants to get into real-time stuff like
> audio development early on, as an option.
May I remind people that one of dlang's big sponsors is Weka,
where `@nogc` is used extensively to achieve high performance
where it matters, in combination with less performance-critical
code that is allowed to use the GC.
D is used by serious companies, not just students.
https://www.reuters.com/technology/data-platform-firm-wekaio-notches-16-bln-valuation-after-lastest-funding-round-2024-05-15/
-Johan
More information about the Digitalmars-d
mailing list