On Monday, 10 September 2018 at 09:11:38 UTC, Kagamin wrote:
On Saturday, 8 September 2018 at 08:32:58 UTC, Guillaume Piolat wrote:
There is no other choice when the runtime is disabled but to have @nogc. It's a fantastic peace of mind for high-performance to be able to _enforce_ something will not allocate.

You can't have a working GC allocation with disabled runtime, can you?

Indeed and that's why you must ensure at compile-time that you have no `new` else you have a runtime crash, and one that might be difficult to test unless you have perfect coverage.

Reply via email to